3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'toxicity_sklep.popt.products_options_sort_order' which is not in SELECT list; this is incompatible with DISTINCT

select distinct popt.products_options_id, popt.products_options_name from products_options popt, products_attributes patrib where patrib.products_id='353' and patrib.options_id = popt.products_options_id and popt.language_id = '1' order by popt.products_options_sort_order

[TEP STOP]