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

select count(*) as total from products p, products_description pd, specials s, products_to_stores p2s LEFT JOIN pricelist pl ON p.products_id = pl.products_id AND pl.pricelistNumber = 1 where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and s.products_id = p2s.products_id and pd.language_id = '4' and s.status = '1' and s.pricelistNumber = 1 and p2s.stores_id = '1' and s.stores_id = '1'

[TEP STOP]

Erbjudanden