题解 | #考试分数(二)#

考试分数(二)

http://www.nowcoder.com/practice/f456dedf88a64f169aadd648491a27c1

select a.* from grade a,
(select job,avg(score) as score from grade group by job) b
where a.job=b.job and a.score>b.score
order by a.id

全部评论

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务