题解 | #考试分数(二)#
考试分数(二)
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
考试分数(二)
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
相关推荐