A fatal MySQL error occured.

Query:
SELECT o.* FROM pmd_opening_hours o WHERE o.listings_id= AND suggestion = 1

Error:
(1064) 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 suggestion = 1' at line 6