标签:mysql优化
这样一条sql要怎么优化呢
这样一个sql要怎么优化呢? select t.loginName,t.distanceStr,t.sex from (select (st_distance(point(r.lon,r.lat), point(108.979118,34.166634)) * 111195 ) as distanceStr ,r.loginName, r.sex from ……
05-01 立刻查看
这样一个sql要怎么优化呢? select t.loginName,t.distanceStr,t.sex from (select (st_distance(point(r.lon,r.lat), point(108.979118,34.166634)) * 111195 ) as distanceStr ,r.loginName, r.sex from ……