题解 | #查看不同年龄段的用户明细#
查看不同年龄段的用户明细
http://www.nowcoder.com/practice/ae44b2b78525417b8b2fc2075b557592
select device_id,gender, if(age >= 25, '25岁以上',if(age>=20 and age<=24,'20-24岁','其他')) as age_cut from user_profile;
查看不同年龄段的用户明细
http://www.nowcoder.com/practice/ae44b2b78525417b8b2fc2075b557592
select device_id,gender, if(age >= 25, '25岁以上',if(age>=20 and age<=24,'20-24岁','其他')) as age_cut from user_profile;
相关推荐