MySQL returned error




Error Description :
Error No : 1064
Description : 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 'ORDER BY product.id' at line 1

SQL Query
SELECT COUNT(product.id) AS CNT FROM `product` WHERE id!=0 AND status='Active' AND category_id=2 AND subcategory_id= ORDER BY product.id