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

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

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

with fir as(
    select job,left(date,7) mon1,month(date) m1,sum(num) s1
    from resume_info
    where year(date)='2025'
    group by job,mon1,m1
),sec as(
    select job,left(date,7) mon2,month(date) m2,sum(num) s2
    from resume_info
    where year(date)='2026'
    group by job,mon2,m2
)
select fir.job,mon1,s1,mon2,s2
from fir join sec on fir.job=sec.job and fir.m1=sec.m2
order by m1 desc,fir.job desc;

全部评论

相关推荐

11-11 14:21
西京学院 C++
Java抽象练习生:教育背景放最前面,不要耍小聪明
点赞 评论 收藏
分享
1 收藏 评论
分享
牛客网
牛客企业服务