Fix SQL syntax
Merge pull request #2 from stucki/master

Fix SQL syntax