Shopltb
3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'ltbstore.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 left join products_to_categories p2c using(products_id) left join categories c using(categories_id) where p.products_status = '1' and p.products_ordered > 0 and p.products_id = pd.products_id and pd.language_id = '1' and find_in_set('0', products_hide_from_groups) = 0 and find_in_set('0', categories_hide_from_groups) = 0 order by p.products_ordered desc, pd.products_name limit 10

[TEP STOP]

Categories
5.1 Computer Headphones 
Accessories 
Quick Find
 
Use keywords to find the product you are looking for.
Advanced Search

View All Items
Information
Shipping & Returns
Gift Voucher FAQ
Privacy Notice
LTB Audio Systems
Free Ground Shipping
Printable Catalog
My Wish List more
0 items