Error Info: MySQL Query Error

Time: 2020-08-13 21:44:11
Script: /list.php

SQL: select a.id,a.ad_type,a.ad_attr,a.ad_icon,a.passtime,a.ad_no,b.*,b.address,b.zipcode,b.address2,b.state,c.city from house_ad a left join house_ad_6 b on a.id=b.ad_id left join usa_city c on b.city = c.id where a.status=1 and a.endtime > 1597380250 and a.ad_type=6 and b.mtype = 17 order by a.passtime desc limit -10,10
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 '-10,10' at line 1
Errno.: 1064