SQL: SELECT subtitle,title,news_id, cid_news FROM news n LEFT JOIN cat_objects co ON n.news_id = co.foreign_id WHERE (co.foreign_type = 'N') AND (n.activated) AND (news_id IN (SELECT foreign_id FROM cat_objects WHERE (shop_id = '75') AND (cat_id IN ('') ))) ORDER BY time DESC
ERROR: invalid input syntax for integer: "" LINE 5: ... cat_objects WHERE (shop_id = '75') AND (cat_id IN ('') ))) ^