Database error: Invalid SQL: SELECT c.id AS `categoryId`, p.id AS `parentId`, g.id AS `grandparentId` FROM `category` AS p LEFT JOIN `category` AS c ON (p.id = c.multiParent) LEFT JOIN `category` AS g ON (p.multiParent = g.id) WHERE p.multiParent != '' AND c.id = OR p.id = ORDER BY `grandparentId` ASC;
MySQL 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 'OR p.id = ORDER BY `grandparentId` ASC' at line 5)
Session halted.