首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
已转码的黑眼圈很想去三亚看海
获赞
0
粉丝
0
关注
0
看过 TA
1
武汉光谷职业学院
2023
C#工程师
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑已转码的黑眼圈很想去三亚看海吗?
发布(40)
评论
刷题
收藏
已转码的黑眼圈很想去三亚看海
关注TA,不错过内容更新
关注
2024-04-22 11:25
武汉光谷职业学院 C#工程师
题解 | #统计每个用户的平均刷题数#
select b.university as university ,c.difficult_level as difficult_level ,count(1)/ count(distinct a.device_id) as difficult_level from question_practice_detail a left join user_profile b on a.device_id = b.device_id and b.university = '山东大学' left join question_detail c on a.question_id = c.question_...
0
点赞
评论
收藏
分享
2024-04-22 11:08
武汉光谷职业学院 C#工程师
题解 | #统计每个学校各难度的用户平均刷题数#
select b.university as university ,c.difficult_level as difficult_level ,count(1) / count(distinct a.device_id) as difficult_level from question_practice_detail a left join user_profile b on a.device_id = b.device_id left join question_detail c on a.question_id = c.question_id group by 1,2
0
点赞
评论
收藏
分享
2024-04-22 10:45
武汉光谷职业学院 C#工程师
题解 | #统计每个学校各难度的用户平均刷题数#
select b.university as university ,c.difficult_level as difficult_level ,count(1) / count(distinct a.device_id) as difficult_level from question_practice_detail a left join user_profile b on a.device_id = b.device_id left join question_detail c on a.question_id = c.question_id group by 1,2
0
点赞
评论
收藏
分享
2024-04-22 10:26
武汉光谷职业学院 C#工程师
题解 | #统计每个学校的答过题的用户的平均答题数#
select b.university as university ,count(1)/count(distinct a.device_id) as avg_answer_cnt from question_practice_detail a left join user_profile b on a.device_id = b.device_id group by 1
0
点赞
评论
收藏
分享
2024-04-22 08:48
武汉光谷职业学院 C#工程师
题解 | #分组计算练习题#
select gender ,university ,round(count( device_id),1) ,round(avg(active_days_within_30),1) ,round(avg(question_cnt),1) from user_profile group by 1,2
0
点赞
评论
收藏
分享
2024-04-22 08:48
武汉光谷职业学院 C#工程师
题解 | #分组过滤练习题#
select university ,avg(question_cnt) as avg_question_cnt ,avg(answer_cnt) as avg_answer_cnt from user_profile group by university having avg(question_cnt) < 5 or avg(answer_cnt) < 20
0
点赞
评论
收藏
分享
2024-04-22 08:46
武汉光谷职业学院 C#工程师
题解 | #分组排序练习题#
select university ,avg(question_cnt) as avg_qunestion_cnt from user_profile group by 1 order by 2
0
点赞
评论
收藏
分享
2024-04-22 08:45
武汉光谷职业学院 C#工程师
题解 | #浙江大学用户题目回答情况#
select a.device_id as device_id ,a.question_id as question_id ,a.result as result from question_practice_detail a left join user_profile b on a.device_id = b.device_id where b.university = '浙江大学'
0
点赞
评论
收藏
分享
2024-04-18 13:20
武汉光谷职业学院 C#工程师
题解 | #计算男生人数以及平均GPA#
select round (count(1),1) as male_num ,round(avg(gpa),1) as avg_gpa from user_profile where gender = 'male'
0
点赞
评论
收藏
分享
2024-04-18 11:22
武汉光谷职业学院 C#工程师
题解 | #查找GPA最高值#
select max(gpa) from user_profile where university = '复旦大学'
0
点赞
评论
收藏
分享
2024-04-18 09:06
武汉光谷职业学院 C#工程师
题解 | #查看学校名称中含北京的用户#
select device_id ,age ,university from user_profile where university like '%北京%'
0
点赞
评论
收藏
分享
2024-04-18 09:01
武汉光谷职业学院 C#工程师
题解 | #操作符混合运用#
select device_id ,gender ,age ,university ,gpa from user_profile where (gpa > 3.5 and university = '山东大学') or (gpa > 3.8 and university = '复旦大学')
0
点赞
评论
收藏
分享
2024-04-18 08:51
武汉光谷职业学院 C#工程师
题解 | #Where in 和Not in#
select device_id ,gender ,age ,university ,gpa from user_profile where university in ('北京大学','复旦大学','山东大学')
0
点赞
评论
收藏
分享
2024-04-18 08:31
武汉光谷职业学院 C#工程师
题解 | #高级操作符练习(2)#
select device_id ,gender ,age ,university ,gpa from user_profile where university = '北京大学' or gpa > 3.7
0
点赞
评论
收藏
分享
2024-04-18 08:26
武汉光谷职业学院 C#工程师
题解 | #高级操作符练习(1)#
select device_id ,gender ,age ,university ,gpa from user_profile where gender = 'male' and gpa >3.5
0
点赞
评论
收藏
分享
1
2
3
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务