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