with tiaojian as ( select job, date_format(date,"%Y-%m") as month, sum(num) as py from resume_info group by job,date_format(date,"%Y-%m") ) select t1.job, t1.month, t1.py, t2.month, t2.py from tiaojian t1 inner join tiaojian t2 on t1.job=t2.job and left(t1.month,4)<>l...