Error Number: 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 'ASC `category_weight` ASC' at line 5
SELECT DISTINCT `name`, `category_id`, c.weight AS `category_weight`, c.type FROM `faq_entries` e LEFT JOIN `faq_categories` c ON `category_id` = ORDER BY c.type, ASC `category_weight` ASC
Line Number: 90