MySQL Query : SELECT COUNT(*) as count FROM (SELECT * FROM v9_class where catid in (1636,1645,1742,1646,1650,1649,1827,1828,1849,1837,2113,2114,2115) and catid != 1649 and catid != 2114 and status = 99 and classnature = 3 order by inputtime∨der=DESCνm=7 DESC) T MySQL Error : MySQL Errno : 1064 Message : Need Help?