update shoes_store set title=substring_index(title,',',1)
将title按逗号分割,1,代表取分割后的第一段,2,代表第二段,-1为最后一段
本文共 141 字,大约阅读时间需要 1 分钟。
update shoes_store set title=substring_index(title,',',1)
将title按逗号分割,1,代表取分割后的第一段,2,代表第二段,-1为最后一段
转载于:https://blog.51cto.com/gjbxx110/740985