Error in SQL Query :: SELECT * FROM images WHERE id = 0 ::