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

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

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-30 10:16
南京大学 Java
永远的鹅孝子:给南大✌️跪了
点赞 评论 收藏
分享
评论
点赞
收藏
分享
牛客网
牛客企业服务