题解 | #分组计算练习题#

分组计算练习题

https://www.nowcoder.com/practice/009d8067d2df47fea429afe2e7b9de45

select
    gender,
    university,
    count(id) as user_num,
    avg(active_days_within_30) as avg_active_day,
    avg (question_cnt) as avg_question_cnt
from
    user_profile
group by
    university, gender

分组查询 && 聚合函数

全部评论

相关推荐

05-05 21:45
已编辑
广州大学 Java
点赞 评论 收藏
分享
06-11 13:34
门头沟学院 C++
offe从四面八方来:我真的没时间陪你闹了
点赞 评论 收藏
分享
评论
1
2
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务