with a as( select i.exam_id,max(r.score) as maxScore,min(r.score) as minScore from exam_record r,examination_info i where r.exam_id = i.exam_id and i.difficulty = 'hard' and r.score is not null group by i.exam_id ) select i.tag,i.difficulty,round(avg(r.score),1) from exam_record r,examination_inf...