最没有意义 | #月均完成试卷数不小于3的用户爱作答的类别#

月均完成试卷数不小于3的用户爱作答的类别

https://www.nowcoder.com/practice/b1d13efcfa0c4ecea517afbdb9090845

select tag, count(1) tag_cnt
from
(select uid, count(score) / count(distinct date_format(start_time, '%Y%m')) c
from exam_record
where score is not null
group by uid) t
left join exam_record r
on t.uid = r.uid
left join examination_info i
on r.exam_id = i.exam_id
where c >= 3
group by tag order by tag_cnt desc;

出题人疑似体育老师代课。

全部评论

相关推荐

最近拿到了正浩的提前批offer感觉自己的实力得到了肯定,也给了我更多底气
搞机墨镜猫:正浩提前批官网好像就只有电力电子软硬件,哥们投的是这两个岗位吗
26届校招投递进展
点赞 评论 收藏
分享
06-20 16:12
门头沟学院 Java
rakkaus:助学金,,,这个就不用写吧
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
07-15 12:20
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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