题解 | #截取出年龄#
截取出年龄
https://www.nowcoder.com/practice/b8d8a87fe1fc415c96f355dc62bdd12f
select substr(profile,12,2) age, count(*) number from user_submit group by age
看好多人用的都是 substring_index ,感觉那个比较繁琐,这个会不会更简单点呢
#mysql#截取出年龄
https://www.nowcoder.com/practice/b8d8a87fe1fc415c96f355dc62bdd12f
select substr(profile,12,2) age, count(*) number from user_submit group by age
看好多人用的都是 substring_index ,感觉那个比较繁琐,这个会不会更简单点呢
#mysql#相关推荐