Возникла ошибка базы данных

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 'AND `rgt` > ORDER BY `lft` desc' at line 4

SELECT * FROM (`be_catalog`) WHERE `lft` < AND `rgt` > ORDER BY `lft` desc

Filename: /var/www/partner-dc.com.ua/shop/models/mpttree_model.php

Line Number: 663