select min(score) as min_score_over_avg from exam_record t1 join examination_info t2 on t1.exam_id = t2.exam_id and t2.tag = 'SQL' and t1.score is not null where t1.score >= ( select avg(score) from exam_record t1 join examination_info t2 on t1.exam_id = t2.exam_id and t2.tag = 'SQL' and t1.score is not null )