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 'limit 1' at line 1mysql error:SELECT count(*) FROM cy_news where status='verified' and catagoryId = limit 1 code:1064,msg: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 'limit 1' at line 1