R & S

1054 - Unknown column 'p.products_id' in 'on clause'

select count(*) as total from products p, products_description pd, style st, format f,categories_description cd , manufacturers m left join products_to_categories p2c on p.products_id = p2c.products_id left join products_tracklisting pt on p.products_id = pt.products_id left join specials s on p.products_id = s.products_id where p2c.categories_id = cd.categories_id and p.style_id=st.style_id and p.format_id=f.format_id and pd.products_id = p.products_id and pd.language_id = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '390' and (p.products_status=1)