Error: 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 '-9, 9' at line 1
Error No: 1064
SELECT i.*, img.path as img FROM module_catalog_item i LEFT JOIN module_catalog_image img ON WHERE (tags LIKE '12;%' OR tags LIKE '%;12;%' OR tags LIKE '%;12') AND AND img.is_index=1 ORDER BY sort LIMIT -9, 9