最没有意义 | #月均完成试卷数不小于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;

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

全部评论

相关推荐

码农索隆:卡学历都不行了,开始卡颜值了
点赞 评论 收藏
分享
每晚夜里独自颤抖:你cet6就cet6,cet4就cet4,你写个cet证书等是什么意思。专业技能快赶上项目行数,你做的这2个项目哪里能提现你有这么多技能呢
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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