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

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

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

select
exam_id,
count(distinct uid) uv,
round(avg(score),1) avg_score
from
exam_record
where
(exam_id,date(start_time))
in
(select
exam_id,
date(release_time) day
from
examination_info
where tag='SQL')
and
uid
in
(select 
uid
from
user_info
where
level >5)
group by exam_id
order by uv desc,avg_score 




全部评论

相关推荐

贪食滴🐶:你说熟悉扣篮的底层原理,有过隔扣职业球员的实战经验吗
点赞 评论 收藏
分享
10-30 10:16
南京大学 Java
龚至诚:给南大✌️跪了
点赞 评论 收藏
分享
点赞 收藏 评论
分享
牛客网
牛客企业服务