select a.exam_id,count(distinct uid) as uv,round(sum(score)/count( uid),1) as avg_score from examination_info a join exam_record b using(exam_id) where tag='SQL' and uid in ( select a.uid from exam_record a join user_info using(uid) where level>5 ) and date_format(release_time,'%...