select tag, count(tag) a from exam_record left join examination_info using(exam_id) where uid in( select uid from exam_record where date_format(submit_time,'%Y%m')='202109' group by uid having count(submit_time)>=3) group by tag order by a desc
select tag, count(tag) a from exam_record left join examination_info using(exam_id) where uid in( select uid from exam_record where date_format(submit_time,'%Y%m')='202109' group by uid having count(submit_time)>=3) group by tag order by a desc