MySQL Query : SELECT COUNT(*) as num FROM v9_download as b, v9_download_data as c WHERE b.status=99 AND b.catid='211' a.catid='174' AND FIND_IN_SET(49,c.relates) AND b.id=c.id MySQL Error : 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 'a.catid='174' AND FIND_IN_SET(49,c.relates) AND b.id=c.id' at line 1 MySQL Errno : 1064 Message : 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 'a.catid='174' AND FIND_IN_SET(49,c.relates) AND b.id=c.id' at line 1 Need Help?