Query Error SELECT * FROM fs_course_categories
WHERE
published = 1
and id = ORDER BY ordering DESC,created_time DESC, id DESC
LIMIT 0,10
Array
(
[0] => 42000
[1] => 1064
[2] => 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 ordering DESC,created_time DESC, id DESC
LIMIT 0,10' at line 4
)