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

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

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 




全部评论

相关推荐

如题,这操作。。。。
真烦好烦真烦:既想享受国家的招聘应届生福利,又不想培养新人,我只能说这种企业的ld太过分了
投递美的集团等公司8个岗位 >
点赞 评论 收藏
分享
03-09 20:32
运营
牛客972656413号:成绩管理系统会不会有点太。。。
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务