Fixed SQL statement
Merge pull request #1 from MonsterKiller/patch-1

Fixed SQL statement