1064: SELECT count(*) as total_row
FROM news
INNER JOIN
news_country nc ON news.id=nc.news_id
where (nc.c_id = AND news.news_status=2) || (nc.c_id = AND news.news_status=3)
group by nc.news_id
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND news.news_status=2) || (nc.c_id = AND news.news_status=3)
gro...' at line 5