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

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

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

Select t5.job, t5.month as 'first_year_mon', t5.num as 'first_year_cnt',
t6.month as 'second_year_mon', t6.num as 'second_year_cnt' 
From
(Select job, DATE_FORMAT(date,'%Y-%m') as month, Month(date) as m,sum(num) as num
From resume_info 
Where Year(date)=2025
Group By month,job
Order By month desc,job DESC)as t5
Join
(Select job, DATE_FORMAT(date,'%Y-%m') as month, Month(date) as m,sum(num) as num
From resume_info 
Where Year(date)=2026
Group By month,job
Order By month desc,job DESC)as t6
On t5.job=t6.job and t5.m=t6.m
全部评论

相关推荐

11-15 19:28
已编辑
蚌埠坦克学院 硬件开发
点赞 评论 收藏
分享
评论
点赞
收藏
分享
牛客网
牛客企业服务