select tag ,difficulty ,round(sum(score)/(rnk_max-2),1) as clip_avg_score from ( select * ,max(rnk) over(partition by exam_id) as rnk_max from ( select a.exam_id ,b.tag ,b.difficulty ,score ,...