select min(score)
from(
select score, avg(score) over() avg_score
from exam_record t1
left join examination_info t2
on t1.exam_id = t2.exam_id
where tag = "SQL"
)a 
where score >= avg_score