Mysql根据经纬度按距离排序
经度,纬度(116.3424590000,40.0497810000)
SELECT *,(st_distance(point(longitude,latitude),point(116.3424590000,40.0497810000))*111195/1000 ) as juli FROM farm_land ORDER BY juli ASC
经度,纬度(116.3424590000,40.0497810000)
SELECT *,(st_distance(point(longitude,latitude),point(116.3424590000,40.0497810000))*111195/1000 ) as juli FROM farm_land ORDER BY juli ASC