Fix a mistake
Wrap around SQL queries