1054 - Unknown column 'c.categories_status' in 'where clause'
select count(p.products_id) as total from products p left join specials s on p.products_id = s.products_id, products_description pd, manufacturers m where c.categories_status = '1' and p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '4' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '12'