WITH Rank_view AS( SELECT tag, difficulty, score, ROW_NUMBER() OVER(PARTITION BY a.exam_id ORDER BY score ASC) MIN_SCORE, ROW_NUMBER() OVER(PARTITION BY a.exam_id ORDER BY score DESC) MAX_SCORE FROM examination_info a LEFT JOIN exam_record b ON a.exam_id = b.exam_id WHERE tag = 'SQL' AND difficulty...