Sorgu Hatası : 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 a.active = 1 AND a.lang = 'tr' ORDER BY a.da' at line 8
Hata No :1064

SELECT a.article_id, a.title, a.date, a.seourl, aa.name, IF(lrt.topic_title != '', lrt.topic_title, rt.topic_title) AS topic FROM articles a LEFT JOIN experts aa ON (a.expert_id = aa.expert_id) LEFT JOIN research_topics rt ON (a.topic_id = rt.topic_id) LEFT JOIN lang_research_topics lrt ON (lrt.topic_id = a.topic_id AND lrt.lang = 'tr') WHERE a.expert_id = AND a.active = 1 AND a.lang = 'tr' ORDER BY a.date DESC LIMIT 40 - 500