Fixing statement to be a proper one
Merge pull request #42 from anvk/queryDB

Fixing statement to be a proper one