首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
每天一顿大太阳
获赞
0
粉丝
0
关注
0
看过 TA
7
男
西南交通大学
2016
IP属地:四川
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑每天一顿大太阳吗?
发布(5)
刷题
每天一顿大太阳
2023-02-09 11:21
西南交通大学
题解 | #查看不同年龄段的用户明细#
select device_id, gender,age_cut from( select device_id, gender, "20岁以下" as age_cut from user_profile where age<20 union all select device_id, gender, "20-24岁" as age_cut from user_profile where age>=20 and age<=24 union all select device_id...
0
点赞
评论
收藏
转发
每天一顿大太阳
2023-02-09 10:21
西南交通大学
题解 | #统计每个学校各难度的用户平均刷题数#
select u.university,d.difficult_level, count(p.question_id)/count(distinct p.device_id) as avg_answer_cnt from user_profile u join question_practice_detail p on u.device_id=p.device_id join question_detail d on p.question_id=d.question_id group by u.university,d.difficult_level 分组的多表联查结果,难度不大
0
点赞
评论
收藏
转发
每天一顿大太阳
2023-02-09 09:45
西南交通大学
题解 | #统计每个学校的答过题的用户的平均答题数#
select u.university,count(q.question_id)/count(distinct q.device_id) as avg_answer_cnt from user_profile u join question_practice_detail q on u.device_id=q.device_id group by u.university order by u.university asc 知识点:1.多表联查2.group by 语句和order by语句的使用注意事项:count(q.question_id)和group by u.university...
0
点赞
评论
收藏
转发
每天一顿大太阳
2023-02-09 08:57
西南交通大学
题解 SQL| #浙江大学用户题目回答情况#
select q.device_id,q.question_id,q.result from question_practice_detail q, user_profile u where q.device_id =u.device_id and u.university="浙江大学" order by q.question_id asc 涉及的知识点:1.联表查询2.排序详解:简单题目,就是连接两个表,然后按照要求求解即可,注意语句书写即可。
0
点赞
评论
收藏
转发
每天一顿大太阳
2020-05-31 14:53
西南交通大学
2020-05-31
在牛客打卡15天,今天学习:刷题 1 道
0
点赞
评论
收藏
转发
1
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务