题解 | #查找字符串中逗号出现的次数#
查找字符串中逗号出现的次数
http://www.nowcoder.com/practice/e3870bd5d6744109a902db43c105bd50
select id, length(string)- length(replace(string, ',', '')) as cnt from strings
查找字符串中逗号出现的次数
http://www.nowcoder.com/practice/e3870bd5d6744109a902db43c105bd50
select id, length(string)- length(replace(string, ',', '')) as cnt from strings
相关推荐