with temp as ( select t1.uid, t1.exam_id, t1.score from exam_record t1 left join examination_info t2 on t1.exam_id = t2.exam_id where t2.difficulty = 'hard' and t1.score is not null ), temp2 as ( select exam_id, min(score) as min, max(score) as max, count(score) as count_score from temp group by exa...