Invalid Query : 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 'a on cp.a_id=a.a_id where a.a_published=1 and a.f_id=5' at line 1
select count(a.a_id) from cp_article_www cp left join cp cp_article a on cp.a_id=a.a_id where a.a_published=1 and a.f_id=5