top sellers |
|
3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'pinkpolk_pinknew.p.products_ordered' which is not in SELECT list; this is incompatible with DISTINCT
select distinct p.products_id, pd.products_name from products p, products_description pd where p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' order by p.products_ordered desc, pd.products_name limit 5
[TEP STOP]
| |