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

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

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

with tiaojian as (
select
job,
month(date) as months,
date_format(date,"%Y-%m") as month, 
sum(num) as cnt
from resume_info
where
year(date)=2025
group by job,date_format(date,"%Y-%m"),months 
) ,tiaojian1 as (
select
job,
month(date) as months,
date_format(date,"%Y-%m") as month, 
sum(num) as cnt
from resume_info
where
year(date)=2026
group by job,date_format(date,"%Y-%m") ,months
)



select 
t.job,
t.month,
t.cnt,
t1.month,
t1.cnt
from tiaojian t inner join tiaojian1 t1 on t.job=t1.job
and t.months=t1.months
order by t.month desc,t.job desc

全部评论

相关推荐

头顶尖尖的程序员:我也是面了三四次才放平心态的。准备好自我介绍,不一定要背熟,可以记事本写下来读。全程控制语速,所有问题都先思考几秒,不要急着答,不要打断面试官说话。
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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