题解 | #试卷发布当天作答人数和平均分#

试卷发布当天作答人数和平均分

http://www.nowcoder.com/practice/5b58e89556dc4153a79d8cf8c08ba499

select exam_id,
count(distinct uid) uv,
round(avg(score),1) avg_score
from user_info
join exam_record
using(uid)
join examination_info
using(exam_id)
where tag='SQL'
and day(start_time)=day(release_time)
and month(start_time)=month(start_time)
and year(submit_time)=2021
and level>=6
group by exam_id
order by uv desc,avg_score

全部评论

相关推荐

点赞 评论 收藏
分享
Cons_W:我9本的,同样找不到。感觉是岗位太少的问题,可能12月份没多少岗位的。
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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