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

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

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

select
table1.job
,table1.date 
,table1.cnt
,table2.date
,table2.cnt
from
(
select
job
,substring(date,1,7) date
,sum(num) cnt
from resume_info
where year(date) = '2025'
group by 1,2
)table1 left join
(
select
job
,substring(date,1,7) date
,sum(num) cnt
from resume_info
where year(date) = '2026'
group by 1,2
)table2 on table1.job = table2.job
and substring(table1.date,6,7) = substring(table2.date,6,7)
order by table1.date desc , job desc

全部评论

相关推荐

09-14 13:33
已编辑
门头沟学院 算法工程师
大专境巅峰电子狗:很多hr面是来刷KPI的,面之前基本都有结果了
点赞 评论 收藏
分享
码农顶针:估计让你免费辅导老板孩子的学习
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务