DBConnect Errors : 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 1
select id, date,DATE_FORMAT(date,'%Y%m') as `year_month`, date,DATE_FORMAT(date,'%Y') as year, date,DATE_FORMAT(date,'%m') as `month`, title, tagline ,'' as source_name , '' as source_url from mpa_mra_article_live Where deleted='N' AND type='article' AND DATE_FORMAT(date,'%Y')='2017' AND DATE_FORMAT(date,'%c')='1' AND status='A' ORDER By `year_month` DESC, date DESC limit -20,20