1054 - Unknown column '8656_4879_4890_5037' in 'where clause'
select MAX(p.products_price) as max_price, MIN(p.products_price) as min_price from products p where p.products_id in (select p2c.products_id from products_to_categories p2c where p2c.categories_id in (8656_4879_4890_5037)) and p.products_status = '1' and p.products_free_gift_status = '0' and p.products_third_party_status = '0' and (p.products_date_available < now() or p.products_date_available IS NULL)