Database: circle_resources
Query: SELECT DISTINCT resource.id AS rid,title,url,abstract,date_format(entered_date,'%d %M %Y') AS dt,min_grade,max_grade,religious_origin,date_format(entered_date,'%Y%m%d') AS dt_compare FROM (resource NATURAL JOIN editorial) , leaf WHERE (title is not null) AND (title != '') AND (lang_code = 'en') AND (leaf.resource=resource.id) AND (leaf.resource_type=0) AND (leaf.node=) ORDER BY highlight ASC, title ASC
Error: 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 highlight ASC, title ASC' at line 1 (1064)