select a.job, a.first_year_mon, a.first_year_cnt, b.second_year_mon, b.second_year_cnt from (select job,date_format(date,'%Y-%m') first_year_mon,sum(num) first_year_cnt from resume_info where date_format(date,'%Y')='2025' group by job,date_format(date,'%Y-%m') ) a #a表为2025年的数据 join (select job,date_...