# 高难度试卷 with t1 as( select uid, exam_id, score, min(score)over(partition by exam_id) as min_score, max(score)over(partition by exam_id) as max_score from exam_record left join examination_info using(exam_id) where difficulty='hard' and score is not null ), t2 as( select uid, exam_id, score, if(min_s...