Error!

MySQL Error: 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 'WHERE (status = 3 or status=4) and contents.id !=117847 and contents.content_typ' at line 1
SQL Statement: SELECT contents.* FROM contents JOIN content_contents on content_contents.associated_content_id = contents.id and content_contents.content_id= WHERE (status = 3 or status=4) and contents.id !=117847 and contents.content_type_id = 2685 ORDER BY publish_date DESC LIMIT 4