Error: select s.subcatid, s.catid, c.catname, s.subcatname from af_cat c
left outer join af_subcat s on c.catid = s.catid
where s.subcatid IN () LIMIT 1
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 ') LIMIT 1' at line 3