select ei.tag,ei.difficulty,round(avg(t1.score),1) from( select uid, exam_id, score, row_number() over(partition by exam_id order by score) min_score, row_number() over(partition by exam_id order by score desc) max_score from exam_record where score is not null )t1 join examination_info ei on ei.exa...