A Database Error Occurred

Error Number: 1064

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 '-10 , 10' at line 15

select arti_no , subject , cat_no , content , DATE_FORMAT(ins_dt, '%Y') as year , DATE_FORMAT(ins_dt, '%m.%d') as mmdd , ins_dt from article_mst where 1 = 1 and lan_gbn = 'kr' and public_yn = 'Y' and del_yn = 'N' and cat_no like '%1%' order by ins_dt desc limit -10 , 10

Filename: models/Article.php

Line Number: 278