描述

请从试卷作答记录表中找到SQL试卷得分不小于该类试卷平均得分的用户最低得分。

select min(score) min_score_over_avg from   
exam_record er join examination_info ei on er.exam_id=ei.exam_id
where tag='SQL' and score>=
(select avg(score) 
 from exam_record e1 join examination_info e2 on e1.exam_id=e2.exam_id
where tag='SQL');