A fatal MySQL error occurred.

Query:
SELECT DISTINCT c.title,c.friendly_url,c.friendly_url_path FROM `pmd_categories` c LEFT JOIN pmd_listings p ON c.id = p.primary_category_id WHERE p.priority >2 AND c.left_ > AND c.right_ < ORDER BY c.title ASC

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 'AND c.right_ < ORDER BY c.title ASC' at line 1