Error SQL:
QUERY:
select distinct t1.* from osln_ru_catalog t1
left join osln_ru_catalog_cat t2 ON t1.id = t2.parent
where t1.check_active = 1 and (t2.text_name = 23580)
order by t2.ord
MYSQL Error:Expression #1 of ORDER BY clause is not in SELECT list, references column 'mebelsalonadb.t2.ord' which is not in SELECT list; this is incompatible with DISTINCT