SQL Error:select *
from property
left join propertytown on propertytown.propertytown_id = property.propertytown_id left join propertycity on propertycity.propertycity_id = propertytown.propertycity_id left join propertytype on propertytype.propertytype_id = property.propertytype_id left join propertypurpose on propertypurpose.propertypurpose_id = property.propertypurpose_id left join bedrooms on bedrooms.bedrooms_id = property.bedrooms_id left join payment_type on payment_type.payment_type_id = property.payment_type_id
where 1=1 and property.property_type='project' order by property.property_id desc
LIMIT -15, 15
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 '-15, 15' at line 7