MySQL Query Error: You have an error in your SQL syntax near '' at line 1

Query: select * from MediaLibrary where intMediaID = ;