1054 - Unknown column 'p.products_id' in 'on clause'
select count(*) as total from products p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '4' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and (pd.products_name like '%super%' or p.products_model like '%super%' or m.manufacturers_name like '%super%' and pd.products_name like '%firm%' or p.products_model like '%firm%' or m.manufacturers_name like '%firm%' and pd.products_name like '%x%' or p.products_model like '%x%' or m.manufacturers_name like '%x%' )
[TEP STOP]