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 newstime desc limit 0,9' at line 6
SELECT DISTINCT a.* FROM ***_ecms_question as a INNER JOIN ***_ecms_question_tag as b ON a.id = b.qid INNER JOIN ***_enewstags as c ON c.tagid=b.tagid WHERE a.id <> 350933 AND c.tagid IN() order by newstime desc limit 0,9