Sam Weisman on ohjannut seuraavat elokuvat:
1054 - Unknown column 'p.products_id' in 'on clause'
select distinct m.manufacturers_name, p.products_image, m.manufacturers_id, p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products p left join manufacturers m using(manufacturers_id), products_description pd left join specials s on p.products_id = s.products_id, categories c, products_to_categories p2c, directors d where p.products_status = '1' and p.products_id = pd.products_id
and pd.language_id = '1' and p.products_id = p2c.products_id
and p2c.categories_id = c.categories_id and c.status = '1'
and d.directors_id = p.directors_id
and p.directors_id='347' order by pd.products_name
[TEP STOP]
| |