MySQL Query : SELECT COUNT(*) as count FROM (SELECT * FROM v9_class where catid in (1635,1639,1640,1641) and catid != 1649 and catid != 2114 and status = 99 and leibie = 3 and classnature = 2 order by inputtime∨der=DESCνm=7 DESC) T MySQL Error : MySQL Errno : 1064 Message : Need Help?