结题思路:使用SQL窗口函数得到每个job的平均分,然后筛选高于平均分的用户
select id,job,score from ( select id,job,score, avg(score) over(partition by job order by job)as avg_score from grade)t where score > avg_score order by id
select id,job,score from ( select id,job,score, avg(score) over(partition by job order by job)as avg_score from grade)t where score > avg_score order by id