首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
元宝0121
获赞
0
粉丝
0
关注
0
看过 TA
0
Northeastern University
2026
产品经理
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑元宝0121吗?
发布(27)
评论
刷题
收藏
元宝0121
关注TA,不错过内容更新
关注
2024-07-12 15:23
Northeastern University 产品经理
题解 | #浙大不同难度题目的正确率#
select q.difficult_level, sum( if(qpd.result ='right',1,0) )/count(qpd.question_id) as correct_rate from user_profile u right join question_practice_detail qpd on u.device_id = qpd.device_id left join question_detail q on q.question_id = qpd.question_id where university = '浙江大学' group by q.difficult...
0
点赞
评论
收藏
分享
2024-07-12 10:30
Northeastern University 产品经理
题解 | #截取出年龄#
select substring(profile,12,2) as age,count(device_id) as number from user_submit group by age
0
点赞
评论
收藏
分享
2024-07-12 10:25
Northeastern University 产品经理
题解 | #查找山东大学或者性别为男生的信息#
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
点赞
评论
收藏
分享
2024-07-12 10:17
Northeastern University 产品经理
题解 | #统计每个用户的平均刷题数#
select university,difficult_level, count(qpd.device_id)/count(distinct qpd.device_id) as avg_answer_cnt from question_practice_detail qpd left join question_detail q on qpd.question_id = q.question_id left join user_profile u on qpd.device_id = u.device_id where university = '山东大学' group by q.diffic...
0
点赞
评论
收藏
分享
2024-07-09 11:59
Northeastern University 产品经理
题解 | #统计每种性别的人数#
select substring_index(profile,',',-1) as gender,count(device_id) as number from user_submit group by gender
0
点赞
评论
收藏
分享
2024-07-09 11:52
Northeastern University 产品经理
题解 | #计算用户8月每天的练题数量#
select day(date) as day, count(question_id) as question_cnt from question_practice_detail where date like '2021-08-%' group by day
0
点赞
评论
收藏
分享
2024-07-09 11:43
Northeastern University 产品经理
题解 | #查看不同年龄段的用户明细#
select device_id,gender, case when age < 20 then '20岁以下' when age <=24 then '20-24岁' when age >=25 then '25岁及以上' else '其他' end age_cut from user_profile
0
点赞
评论
收藏
分享
2024-07-09 11:38
Northeastern University 产品经理
题解 | #计算25岁以上和以下的用户数量#
select if (age>=25,'25岁及以上','25岁以下') as age_cut, count(device_id) as number from user_profile group by age_cut
0
点赞
评论
收藏
分享
2024-07-09 11:03
Northeastern University 产品经理
题解 | #浙江大学用户题目回答情况#
select device_id,question_id,result from question_practice_detail where device_id = ( select device_id from user_profile where university = '浙江大学' ) order by question_id
0
点赞
评论
收藏
分享
2024-07-09 08:27
Northeastern University 产品经理
题解 | #21年8月份练题总数#
select count(distinct device_id) as did_cnt, count(question_id) as question_cnt from question_practice_detail where date like '2021-08%'
0
点赞
评论
收藏
分享
2024-07-08 22:29
Northeastern University 产品经理
题解 | #分组计算练习题#
select gender, university, count(id) as user_num, avg(active_days_within_30) as avg_active_day, avg(question_cnt) as avg_question_cnt from user_profile group by gender,university
0
点赞
评论
收藏
分享
2024-07-08 22:20
Northeastern University 产品经理
题解 | #查找GPA最高值#
select max(gpa) from user_profile where university = '复旦大学'
0
点赞
评论
收藏
分享
2024-07-08 22:19
Northeastern University 产品经理
题解 | #查看学校名称中含北京的用户#
select device_id,age,university from user_profile where university like'%北京%'
0
点赞
评论
收藏
分享
2024-07-08 22:14
Northeastern University 产品经理
题解 | #Where in 和Not in#
select device_id,gender,age,university,gpa from user_profile where university in ('北京大学','复旦大学','山东大学')
0
点赞
评论
收藏
分享
2024-07-08 22:12
Northeastern University 产品经理
题解 | #高级操作符练习(2)#
select device_id,gender,age,university,gpa from user_profile where university = '北京大学' or gpa > 3.7
0
点赞
评论
收藏
分享
1
2
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务