with a as (select tag, year(start_time) as start_year, count(submit_time) as exam_cnt, rank() over(partition by year(start_time) order by count(submit_time) desc) as exam_cnt_rank from examination_info as ei left join exam_record as er on ei.exam_id=er.exam_id where month(start_time)<=6 and (y...