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 newscategory=1 and news_type=3) as industry, (select count(*) from sin001.ne' at line 1