Unknown column '2C260' in 'where clause' SELECT brand_id FROM cms_prod WHERE cat_id in(272%2C260) AND publish=1 GROUP BY brand_id