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

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

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

select score min_score_over_avg from exam_record a,
examination_info b
where 
a.exam_id= b.exam_id 
and tag='SQL'
and a.score>=(select avg(score) from exam_record c,
examination_info d
where c.exam_id= d.exam_id and tag='SQL' )
and a.score is not null
order by a.score asc
limit 1

全部评论

相关推荐

10-07 23:57
已编辑
电子科技大学 Java
八街九陌:博士?客户端?开发?啊?
点赞 评论 收藏
分享
评论
点赞
收藏
分享
牛客网
牛客企业服务