Database error: Invalid SQL: select tc.to_category_name, tc.to_category_id, tc.to_category_name, tc.to_category_description, tour_operator_category_id from to_category tc inner join tour_operator_category toc on toc.to_category_id = tc.to_category_id and toc.tour_operator_id = order by tc.to_category_name
MySQL Error: 1064 (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 tc.to_category_name' at line 12)