Folk. Pop. Rock. Psyche.

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

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