3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'leuco_db.p.products_model' which is not in SELECT list; this is incompatible with DISTINCT
select distinct p.products_image, pd.products_name,
p.products_image , p.products_price,
if(s.status, least(s.specials_new_products_price, p.products_price), p.products_price) as final_price from (products p
left join specials s using(products_id) ),
featured f where p.products_status = '1'
and f.status = '1'
and p.products_id = f.products_id
and pd.products_id = p.products_id
and pd.language_id = '1' order by p.products_model , pd.products_name limit 0, 10