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

考试分数(二)

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

select distinct id,s.job,score from grade g join ( select job,AVG(score) as ag from grade group by job)s USING(job) where g.score>s.ag order by id

全部评论

相关推荐

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