1054 - Unknown column 'EXPIRE_NEW_PRODUCTS' in 'where clause'
select count(*) as total from products p left join manufacturers m on (p.manufacturers_id = m.manufacturers_id), products_description pd where p.products_date_added > SUBDATE( now( ) , INTERVAL EXPIRE_NEW_PRODUCTS DAY ) and p.products_id = pd.products_id and pd.language_id = '1'