select farm_code, name, member, prov, city, address, company, tel, cellphone, email, concat(b.prov_name, ' ', c.city_name, ' ', address) as addr from (farm_info a left join prov_code b on a.prov = b.prov_code) left join city_code c on a.prov = c.prov_code and a.city = c.city_code where true and company = '' and name = '' and tel = '' ORDER BY farm_code DESC limit -10, 10

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 '-10, 10' at line 4

error file : /farm/list.php