Qrong query: 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 ')
LIMIT 1' at line 3
SELECT MAX(`discount`) as 'max',MIN(`discount`) as 'min'
FROM `a_items` as tb1
WHERE tb1.`status`='enabled' AND tb1.`id` IN ()