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 ')' at line 1
SELECT count(*) as total FROM ebc_business_new WHERE id IN (SELECT business FROM ebc_business_rel_cats WHERE category = )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 30' at line 1
SELECT * FROM ebc_business_new WHERE id IN (SELECT business FROM ebc_business_rel_cats WHERE category = ) LIMIT 30