时间:2021-07-01 10:21:17 帮助过:18人阅读
SELECT
*,
AsText(location) as 原始坐标数据,
(st_distance(location, point(116.397915,39.908946))*111) AS distance
FROM
oc_district
HAVING
distance<100
ORDER BY
distance limit 100;
MySQL通过POIN数据类型查询指定范围内数据
标签:str text rom cat ast from 数据类型 查询 mysq