unable to parse select * from FileGroupFile where FileGroupID= and FileContents is not null order by Name (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and FileContents is not null order by Name' at line 1)