SQL Error
SELECT category.CLASS_KEY, category.ID, category.DESCRIPTION, category.SUMMARY, category.CONTENT, category.PAGE_TITLE, category.PAGE_DESCRIPTION, category.TREE_PATH, category.PRODUCT_COUNT, category.ARTICLE_COUNT, category.CUSTOMER_COUNT, category.SHADOWING_ID, category.ATTRIBUTE_SET_ID, category.META_DATA_ID, category.TREE_LEFT, category.TREE_RIGHT, category.TREE_LEVEL, category.SLUG, category.LATITUDE, category.LONGITUDE, category.MAP_ICON, category.CREATED_AT, category.CREATED_BY, category.UPDATED_AT, category.UPDATED_BY FROM `category` INNER JOIN `product_category` ON (category.ID=product_category.CATEGORY_ID) WHERE product_category.PRODUCT_ID=:p1 AND (category.TREE_LEFT>:p2 AND category.TREE_LEFT<:p3) AND category.TREE_LEVEL=:p4 ORDER BY category.TREE_LEFT ASC