sql字段切分

xiaoxiao2021-02-28  94

#SELECT substring_index(coordinate,',', 1), substring_index(coordinate,',', -1) FROM tmp a LEFT JOIN table b on a.uid = b.uid WHERE; UPDATE tmp a LEFT JOIN table b on a.uid = b.uid SET b.lgt = substring_index(a.coordinate,',', -1), b.lat=substring_index(a.coordinate,',', 1);
转载请注明原文地址: https://www.6miu.com/read-74201.html

最新回复(0)