We are getting the below error while executing the query.
You should look what is an exact error from DBConnect's logs. Those can found from node where you are running it or _internal index.
r. Ismo