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

分组计算练习题

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

最重要的是怎么理解顺序:分组后聚合函数在进行操作

select 
    gender,university,count(device_id),
    avg(active_days_within_30) avg_active_day,
    avg(question_cnt) avg_question_cnt
    from user_profile
    group by gender,university
全部评论

相关推荐

李橙子:结果虽不够理想,但过程本身已是宝贵的淬炼。能把学习机会放在薪酬之前,证明你目光长远。先踏实进去,用这段时间扎实学好Python后端,把公司项目吃透,你的价值会在下一份工作中完全体现。这个起点,值得。
点赞 评论 收藏
分享
评论
2
收藏
分享

创作者周榜

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