Products meeting the search criteria |
|
1054 - Unknown column 'pd.products_year' in 'order clause'
select distinct m.manufacturers_name, p.products_year, p.products_points, 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) left join specials s on p.products_id = s.products_id, products_description pd, categories c, products_to_categories p2c 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 ((pd.products_name like '%andrea%' or p.products_model like '%andrea%' or m.manufacturers_name like '%andrea%') ) order by p.products_year desc, pd.products_year limit 0, 15
[TEP STOP]
|