首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
在刷题的她很机智
获赞
1
粉丝
0
关注
0
看过 TA
5
海南大学
2024
数据分析师
IP属地:上海
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑在刷题的她很机智吗?
发布(46)
评论
刷题
收藏
在刷题的她很机智
关注TA,不错过内容更新
关注
2023-09-05 14:03
海南大学 数据分析师
题解 | #计算25岁以上和以下的用户数量#
select case when age<25 or age is null then "25岁以下" when age>=25 then "25岁及以上" end age_cut,count(*)number from user_profile group by age_cut
0
点赞
评论
收藏
分享
2023-09-05 13:38
海南大学 数据分析师
题解 | #查找山东大学或者性别为男生的信息#
select device_id,gender,age,gpa from user_profile where university="山东大学" union all select device_id,gender,age,gpa from user_profile where gender="male"
0
点赞
评论
收藏
分享
2023-09-05 13:26
海南大学 数据分析师
题解 | #统计每个用户的平均刷题数#
select university,difficult_level, round(count(qpd.question_id)/count(distinct qpd.device_id),4)as avg_answer_cnt from question_practice_detail as qpd left join user_profile as up on qpd.device_id=up.device_id left join question_detail as qd on qpd.question_id=qd.question_id where university="山...
0
点赞
评论
收藏
分享
2023-09-05 13:15
海南大学 数据分析师
题解 | #统计每个学校各难度的用户平均刷题数#
select university,difficult_level, round(count(qpd.question_id)/count(distinct qpd.device_id),4)as avg_answer_cnt from question_practice_detail as qpd left join user_profile as up on qpd.device_id=up.device_id left join question_detail as qd on qpd.question_id=qd.question_id group by university,diff...
0
点赞
评论
收藏
分享
2023-09-05 03:40
海南大学 数据分析师
题解 | #统计每个学校的答过题的用户的平均答题数#
select university, count(question_id)/count(distinct q.device_id)as avg_answer_cnt from user_profile as u inner join question_practice_detail as q on u.device_id=q.device_id group by university
0
点赞
评论
收藏
分享
2023-09-01 23:06
海南大学 数据分析师
题解 | #浙江大学用户题目回答情况#
# select device_id,question_id,result # from question_practice_detail # where device_id in(select device_id from user_profile where university ="浙江大学") # order by question_id select qpd.device_id,qpd.question_id,qpd.result from question_practice_detail as qpd inner join user_profile as up...
0
点赞
评论
收藏
分享
2023-09-01 22:48
海南大学 数据分析师
题解 | #分组排序练习题#
select university, avg(question_cnt)as avg_question_cnt from user_profile group by university order by avg_question_cnt
0
点赞
评论
收藏
分享
2023-09-01 22:44
海南大学 数据分析师
题解 | #分组过滤练习题#
select university, round(avg(question_cnt),1)as avg_question_cnt, round(avg(answer_cnt),1)as avg_answer_cnt from user_profile group by university having avg_question_cnt<5 or avg_answer_cnt<20
0
点赞
评论
收藏
分享
2023-09-01 10:03
海南大学 数据分析师
题解 | #查找GPA最高值#
select max(gpa) from user_profile where university ="复旦大学"
0
点赞
评论
收藏
分享
2023-09-01 09:53
海南大学 数据分析师
题解 | #查看学校名称中含北京的用户#
select device_id,age,university from user_profile where university like "%北京%"
0
点赞
评论
收藏
分享
2023-09-01 09:50
海南大学 数据分析师
题解 | #操作符混合运用#
select device_id,gender,age,university,gpa from user_profile where university="山东大学" and gpa>3.5 or university="复旦大学" and gpa>3.8
0
点赞
评论
收藏
分享
2023-09-01 09:45
海南大学 数据分析师
题解 | #Where in 和Not in#
select device_id,gender,age,university,gpa from user_profile where university in ("北京大学","复旦大学","山东大学")
0
点赞
评论
收藏
分享
2023-09-01 09:43
海南大学 数据分析师
题解 | #Where in 和Not in#
select device_id,gender,age,university,gpa from user_profilewhere university != "浙江大学"
0
点赞
评论
收藏
分享
2023-09-01 09:22
海南大学 数据分析师
题解 | #高级操作符练习(1)#
select device_id,gender,age,university,gpa from user_profilewhere gender="male" and gpa>3.5
0
点赞
评论
收藏
分享
2023-09-01 09:17
海南大学 数据分析师
题解 | #用where过滤空值练习#
select device_id,gender,age,university from user_profilewhere age is not null
0
点赞
评论
收藏
分享
1
2
3
4
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客企业服务