MySQL Query : SELECT COUNT(*) as count FROM (SELECT a.* FROM `v9_case` as a left join `v9_case_data` as b on a.id=b.id WHERE
a.status=99 and b.relproduct in () ORDER BY a.id DESC) T 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 ') ORDER BY a.id DESC) T' at line 2 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 ') ORDER BY a.id DESC) T' at line 2 Need Help?