SELECT (length("10,A,B")-length(replace("10,A,B",",","")))/length(",") AS cnt
牛客SQL练习-51-查找字符串‘10,A,B‘ 中逗号‘,‘出现的次数cnt
最新推荐文章于 2021-12-16 16:09:05 发布
SELECT (length("10,A,B")-length(replace("10,A,B",",","")))/length(",") AS cnt