Error: select * from tbl_ads where featured_status=0 and status=1 and pub_status=1 and subcategoryid=38 order by repost_date desc limit -30,30

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 '-30,30' at line 1