牛客797465787号
牛客797465787号
题解
题解 | #统计每种性别的人数#
全部文章
题解
归档
标签
去牛客网
登录
/
注册
题解 | #统计每种性别的人数#
123 浏览
0 回复
2022-06-22
牛客797465787号
+关注
统计每种性别的人数
http://www.nowcoder.com/practice/f04189f92f8d4f6fa0f383d413af7cb8
select regexp_substr(profile,'[^,]+',1,4) gender, count(*)
from user_submit
group by regexp_substr(profile,'[^,]+',1,4)
Mysql
举报
收藏
赞
评论加载中...