追赶日落
追赶日落
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
追赶日落的博客
全部文章
(共7篇)
题解 | #删除简历#
offer_list = input() h=offer_list.split(" ") del(h[0]) # h.remove('Baidu') print(h)
2022-12-27
0
187
题解 | #考试分数(二)#
select g1.id,g1.job,g1.scorefrom grade g1where g1.score>(select round(avg(g2.score),3)from grade g2 where g1.job=g2.job group by g2.job) -- 岗位要一致,才...
2021-08-15
0
348
题解 | #汇总各个部门当前员工的title类型的分配数目#
/汇总各个部门当前员工的title类型的分配数目,即结果给出部门编号dept_no、dept_name、其部门下所有的员工的title以及该类型title对应的数目count,结果按照dept_no升序排序/select dep.dept_no ,dep.dept_name ,t.tit...
2021-08-13
0
382
题解 | #实习广场投递简历分析(三)#
select t1.job,t1.first_year_mon,t1.first_year_cnt, t2.second_year_mon,t2.second_year_cntfrom(select job, -- concat(job,month(date))as id, d...
2021-08-11
0
289
题解 | #实习广场投递简历分析(二)#
select job,date_format(date,'%Y-%m')as mon,sum(num)as cnt-- y是两位数25,Y才是四位数2025from resume_infowhere year(date)=2025group by job,monorder by mon desc,c...
2021-08-11
0
283
题解 | #牛客的课程订单分析(二)#
select user_idfrom order_infowhere date>'2025-10-15' and status='completed' and product_name in('C++','Java','Python')group by user_idhaving ...
2021-08-11
0
232
题解 | #查找排除当前最大、最小salary之后的员工的平均工资avg_salary#
-- max,minselect avg(salary) as avg_salaryfrom salarieswhere to_date='9999-01-01' and salary not in(select max(salary) as max_salaryfrom salarieswh...
2021-08-08
0
277