SQL statement display error

Hi @zsk
Post "Diagnostic Info" from Admin > Troubleshooting.
Post the full stacktrace from Admin > Troubleshooting > Logs.