MySQL returned error




Error Description :
Error No : 1064
Description : 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 status='Active' AND occupancy<=2 ORDER BY id ASC' at line 1

SQL Query
SELECT `tour_hotel_room`.* FROM `tour_hotel_room` WHERE id!=0 AND tour_hotel_id= AND status='Active' AND occupancy<=2 ORDER BY id ASC