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.propertytype_id = (select propertytype_id from propertytype where propertytype_name_en='appartements') and property.propertytown_id in (select propertytown_id from propertytown where propertycity_id=(select propertycity_id from propertycity where propertycity_name_en='Trabzon')) 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