题解 | #SQL类别高难度试卷得分的截断平均值#

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

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

select
tag, difficulty, round(avg(score),1)
from exam_record
join examination_info
on exam_record.exam_id = examination_info.exam_id
where score != (select min(score) from exam_record)
and score != (select max(score) from exam_record)
and exam_record.exam_id = 9001
全部评论

相关推荐

03-26 15:18
已编辑
华北水利水电大学 Java
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务