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 ll.lang_id = 1' at line 3SQL: SELECT l.*, l.id l_id, ll.name l_name, ll.description l_description FROM em_locations l LEFT JOIN em_locations_lang ll ON (l.id=ll.location_id) WHERE l.id = AND ll.lang_id = 1