1054 - Unknown column 'p.products_id' in 'on clause'
select p.products_id, pd.products_name, p.products_image, p.products_price, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price from products p, products_description pd, categories c, products_to_categories p2c left join specials s on p.products_id = s.products_id 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 c.status = '1' order by p.products_date_added desc limit 10
[TEP STOP]
|