Error SQL:


QUERY:
select cat.* from pn_ru_cat as cat left join pn_ru_catalog_cat as ccc on ccc.text_name=cat.id where cat.check_active=1 and cat.id= order by cat.ord
MYSQL Error:You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by cat.ord' at line 1