Ошибка запроса к серверу баз данных: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by t1.priority desc' at line 1
select t1.id,t1.header,t1.hidden from alterlinks_type_tour1 as a inner join type_tour1 as t1 on t1.id=a.type_id where a.tour_id= order by t1.priority desc