题解 | #得分不小于平均分的最低分#

得分不小于平均分的最低分

https://www.nowcoder.com/practice/3de23f1204694e74b7deef08922805b2

select min(er.score) min_score_over_avg 
from examination_info ei join exam_record er 
on 
ei.exam_id=er.exam_id and ei.tag='SQL' 
where er.score>=(select avg(er.score) from examination_info ei join exam_record er on ei.exam_id=er.exam_id and ei.tag='SQL');

全部评论

相关推荐

06-07 00:00
已编辑
腾讯_后端开发
点赞 评论 收藏
分享
07-07 17:06
已编辑
深圳技术大学 golang
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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