An Error Was Encountered

Error Number: 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 'ORDER BY projectsitems.date desc LIMIT 2' at line 8

SELECT projectsitems.id as id, projectsitems.identifier as identifier, projectsitems.image as image, projectsitems_lg.headertitle as headertitle, projectsitems_lg.resume as resume FROM projectsitems JOIN projectsitems_lg ON projectsitems.id = projectsitems_lg.id_projectsitems WHERE projectsitems.publish = 'Yes' AND projectsitems.finished = 'Yes' AND projectsitems_lg.code = 'fr' AND projectsitems.id!= ORDER BY projectsitems.date desc LIMIT 2