题解 | #实习广场投递简历分析(三)#

实习广场投递简历分析(三)

https://www.nowcoder.com/practice/83f84aa5c32b4cf5a75558d02dd7743c

select a.job,a.mon as first_year_mon, a.cnt as first_year_cnt, b.mon as second_year_mon,b.cnt as second_year_cnt
from (select job,date_format(date,'%Y-%m') as mon,sum(num) as cnt 
	  from resume_info 
	  where year(date) = '2025'
	  group by job,mon 
	  order by mon desc,job desc) a
left join (select job,date_format(date,'%Y-%m') as mon, sum(num) as cnt 
		   from resume_info where year(date) = '2026'
		   group by job,mon 
		   order by mon desc,job desc) b 
		   on  a.job = b.job and right(a.mon,2)=right(b.mon,2)

全部评论

相关推荐

10-05 23:02
东北大学 Java
我说句实话啊:那时候看三个月培训班视频,随便做个项目背点八股,都能说3 40w是侮辱价
点赞 评论 收藏
分享
11-09 01:22
已编辑
东南大学 Java
高级特工穿山甲:羡慕,我秋招有家企业在茶馆组织线下面试,约我过去“喝茶详谈”😢结果我去了发现原来是人家喝茶我看着
点赞 评论 收藏
分享
评论
点赞
收藏
分享
牛客网
牛客企业服务