首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
牛客457058755号
获赞
0
粉丝
0
关注
0
看过 TA
1
仲恺农业工程学院
2011
战略分析
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑牛客457058755号吗?
发布(15)
刷题
牛客457058755号
05-06 22:51
战略分析
题解 | #查找山东大学或者性别为男生的信息#
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
点赞
评论
收藏
转发
牛客457058755号
05-06 16:44
战略分析
题解 | #统计每个学校的答过题的用户的平均答题数#
此题最重要的就是理解平均回答数是回答数 除以 回答的人(去重) 即question_id/device_id select university,count(q.question_id)/count(distinct(q.device_id)) as avg_answer_cnt from user_profile u inner join question_practice_detail q on u.device_id=q.device_id group by university
0
点赞
评论
收藏
转发
牛客457058755号
04-28 22:34
战略分析
题解 | #浙江大学用户题目回答情况#
select q.device_id,question_id,result from question_practice_detail q INNER JOIN user_profile u on q.device_id = u.device_id where university="浙江大学";
0
点赞
评论
收藏
转发
牛客457058755号
04-28 21:48
战略分析
题解 | #分组排序练习题#
select university, avg(question_cnt) as avg_question_cnt from user_profile group by university order by avg_question_cnt ASC
0
点赞
评论
收藏
转发
牛客457058755号
04-28 12:20
战略分析
题解 | #分组计算练习题#
select gender,university, count(device_id) as user_num, avg(active_days_within_30) as avg_active_days, avg(question_cnt) as_question_cnt from user_profile group by gender,university
0
点赞
评论
收藏
转发
牛客457058755号
04-28 10:35
战略分析
题解 | #查找GPA最高值#
select gpa from user_profile where university like"复旦大学" order by gpa desc limit 1
0
点赞
评论
收藏
转发
牛客457058755号
04-27 22:30
战略分析
题解 | #查看学校名称中含北京的用户#
select device_id,age,university from user_profile where university like"%北京%"
0
点赞
评论
收藏
转发
牛客457058755号
04-27 22:24
战略分析
题解 | #操作符混合运用#
select device_id,gender,age,university,gpa from user_profile where (gpa > 3.5 and university = "山东大学") or (gpa > 3.8 and university = "复旦大学")
0
点赞
评论
收藏
转发
牛客457058755号
04-27 22:05
战略分析
题解 | #Where in 和Not in#
select device_id,gender,age,university,gpa from user_profile where university in("北京大学","复旦大学","山东大学")
0
点赞
评论
收藏
转发
牛客457058755号
04-27 21:57
战略分析
题解 | #高级操作符练习(2)#
select device_id,gender,age,university,gpa from user_profile where university like"北京大学%" or gpa>3.7
0
点赞
评论
收藏
转发
牛客457058755号
04-27 21:55
战略分析
题解 | #高级操作符练习(1)#
select device_id,gender,age,university,gpa from user_profile where gpa>3.5 and gender like"male"
0
点赞
评论
收藏
转发
牛客457058755号
04-27 21:54
战略分析
题解 | #高级操作符练习(1)#
select device_id,gender,age,university,gpa from user_profile where gpa>3.5 and gender="male"
0
点赞
评论
收藏
转发
牛客457058755号
04-27 21:46
战略分析
题解 | #用where过滤空值练习#
select device_id,gender,age,university from user_profile where age is not null
0
点赞
评论
收藏
转发
牛客457058755号
04-27 21:44
战略分析
题解 | #查找年龄大于24岁的用户信息#
select device_id,gender,age,university from user_profile where age>24
0
点赞
评论
收藏
转发
牛客457058755号
04-26 19:01
战略分析
题解 | #查询限制行数#
select user_id,job_id,device ,job_salary,deliver_date from deliver_record limit 2
0
点赞
评论
收藏
转发
1
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务