首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
景辞
获赞
5
粉丝
0
关注
0
看过 TA
0
南阳师范学院
2025
IP属地:河南
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑景辞吗?
发布(59)
评论
刷题
收藏
景辞
关注TA,不错过内容更新
关注
2024-05-26 21:13
南阳师范学院
题解 | #查询职位发布时间在2021年后或职位城市为上海
我刚开始还以为2021年后是指过完2021select job_id,boss_id,company_idfrom job_infowhere year(post_time)>2020 or job_city='上海'order by job_city;
0
点赞
评论
收藏
分享
2024-05-26 21:08
南阳师范学院
题解 | #查询职位城市在北京#
使用union all输出所有满足条件的记录,包含重复记录select job_id,company_idfrom job_infowhere job_city='北京' union allselect job_id,company_idfrom job_infowhere salary>100000 ;
0
点赞
评论
收藏
分享
2024-05-26 21:00
南阳师范学院
题解 | #查询每个公司查看过的投递用户数#
select company_id,sum(resume_if_checked) cnt from job_info,deliver_record where deliver_record.job_id=job_info.job_id and resume_if_checked=1 group by company_id order by company_id;
0
点赞
评论
收藏
分享
2024-05-26 20:49
南阳师范学院
题解 | #查询被投递过的职位信息#
这道题答案有问题吧,明明题目要求输出resume_if_checked不为0并且按照company_id升序,结果答案输出全部字段,真的服
0
点赞
评论
收藏
分享
2024-05-26 20:36
南阳师范学院
题解 | #查询2022年以来user_id,毕业院校#
使用公共字段将两个表进行连接,查询2022年以来,说明只要year为2022年的,使用year()筛选,同时一个用户可能有多条刷题记录,要使用distinct对user_id进行去重select distinct questions_pass_record.user_id,universityfrom questions_pass_record left join user_infoon questions_pass_record.user_id=user_info.user_idwhere year(date)=2022;
0
点赞
评论
收藏
分享
2024-05-26 20:29
南阳师范学院
题解 | #查询2022年毕业用户的刷题记录#
通过公共字段将两个表连接起来,筛选条件为graduation_year=2022select questions_pass_record.user_id,question_type,device,pass_count,datefrom questions_pass_record,user_infowhere questions_pass_record.user_id=user_info.user_idand graduation_year=2022;
0
点赞
评论
收藏
分享
2024-05-26 20:21
南阳师范学院
题解 | #统计每天刷题数超过5的user_id以及刷题数#
统计每天每人刷题,要对日期和用户名都进行分组select date,user_id,sum(pass_count) total_pass_countfrom questions_pass_record_detailgroup by date,user_idhaving sum(pass_count)>5;
0
点赞
评论
收藏
分享
2024-05-26 20:17
南阳师范学院
题解 | #统计每天总刷题数#
select date days,sum(pass_count) passCntfrom questions_pass_record_detailgroup by date;
0
点赞
评论
收藏
分享
2024-05-26 20:15
南阳师范学院
题解 | #计算单次平均刷题数#
select sum(pass_count)/count(user_id) avgCntfrom questions_pass_record_detail;
0
点赞
评论
收藏
分享
2024-05-26 20:13
南阳师范学院
题解 | #找出sql类题目的单次最大刷题数#
select max(pass_count) from questions_pass_record_detailwhere question_type='sql';
0
点赞
评论
收藏
分享
2024-05-26 20:12
南阳师范学院
题解 | #计算刷题总人数#
select count(distinct user_id) cntfrom questions_pass_record_detail;
0
点赞
评论
收藏
分享
2024-05-26 20:11
南阳师范学院
题解 | #计算总刷题数,并将所选列名改为总刷题数#
select sum(pass_count) 总刷题数from questions_pass_record_detail;
0
点赞
评论
收藏
分享
2024-05-26 20:09
南阳师范学院
题解 | #查询城市为北京的职位投递记录#
select * from deliver_record_detailwhere job_city like "北京%";
0
点赞
评论
收藏
分享
2024-05-26 19:59
南阳师范学院
题解 | #21年8月份练题总数#
select count(distinct device_id),count(question_id) from question_practice_detail where month(date)=8; 题目求8月份练题总数,使用month()进行筛选用户总数=不重复的device_id的数量答题数量直接统计question_id即可
0
点赞
评论
收藏
分享
1
2
3
4
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务