A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-20, 20' at line 10

SELECT `a`.*, group_concat(c.title separator ', ') as product_titles, (select title_ko from product_category where idx = b.category1_idx) as depth1_title, (select title_en from product_category where idx = b.category1_idx) as depth1_title_en, DATE_FORMAT(a.reg_date, "%Y.%m.%d") as reg_date_ FROM `application` `a` LEFT JOIN `application_relation_product` `b` ON `a`.`idx` = `b`.`application_idx` LEFT JOIN `product` `c` ON `c`.`idx` = `b`.`product_idx` WHERE `a`.`type` = '1' AND `a`.`lang` = 'ko' AND `a`.`tag` LIKE '%2���������������������������%' ESCAPE '!' GROUP BY `a`.`idx` ORDER BY `a`.`idx` DESC LIMIT -20, 20

Filename: models/Application_model.php

Line Number: 48