3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'soltime_newsite.pi.id' which is not in SELECT list; this is incompatible with DISTINCT
select distinct pi.image, pi.products_id from products_images pi where pi.products_id = '17009' order by pi.id ASC
[TEP STOP]