1327 - Undeclared variable: MAX_CATEGORY_TOP_PRODUCTS

SELECT * FROM prd_std_1_products p WHERE productskk_prodtype in (6, 7, 20, 36, 35, 4, 14, 30) order by rRang desc limit MAX_CATEGORY_TOP_PRODUCTS

[XT SQL Error]