Unknown column 'services' in 'where clause'1054 SELECT SQL_CALC_FOUND_ROWS i.id, i.pathname, IF(i.name = '', i.model, i.name) as name, i.price, i.images, o.name as object, c.name as category, ic.name as icategory, i.descr, m.name as model_name FROM `CA_inventory` i LEFT JOIN `CA_objects` o ON o.id = i.object_id LEFT JOIN `CA_store_categories` c ON c.id = i.store_category_id LEFT JOIN `CA_inventory_categories` ic ON ic.id = i.category_id LEFT JOIN `CA_inventory_models` m ON m.id = i.model_id WHERE (i.commerce = 1 OR (i.images != '' AND i.descr != '')) AND i.del = 0 AND i.type = 'stock' AND i.store_category_id IN (services) ORDER BY i.id LIMIT 0, 20