Error

Error

select count(p.products_id) as total from osc_products p, osc_products_description pd, osc_manufacturers m left join osc_specials s on m.products_id = s.products_id where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '2' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '4'

Database reported: Unknown column 'm.products_id' in 'on clause' (Errno: 1054)