select job,left(date,7) mon,sum(num) cnt
from resume_info
where left(date,4)=2025
group by job,mon
order by mon desc,cnt desc

思路:使用left来截取字符串得到想要的年月,此题也可以用date_format 来对字符串进行处理