首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
饼干骑士
获赞
0
粉丝
0
关注
0
看过 TA
1
云南民族大学
2026
算法工程师
IP属地:云南
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑饼干骑士吗?
发布(4)
评论
刷题
收藏
饼干骑士
关注TA,不错过内容更新
关注
2023-11-11 14:40
云南民族大学 算法工程师
题解 | #分组过滤练习题#
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 使用group by后不能用where做条件筛查,需要用group by 分组 having 条件
0
点赞
评论
收藏
分享
2023-11-08 16:05
云南民族大学 算法工程师
题解 | #高级操作符练习(1)#
select device_id,gender,age,university,gpa from user_profile where gender ='male' and gpa > 3.5 涉及多个条件的查询,使用and操作符连接多个条件
0
点赞
评论
收藏
分享
2023-11-08 16:02
云南民族大学 算法工程师
题解 | #用where过滤空值练习#
select device_id,gender,age,university from user_profile where age is not null 判断某个属性的值是否为null,不能使用比较运算符=或!=,只能使用is null 或is not null格式:列名 not/is null
0
点赞
评论
收藏
分享
2023-11-08 15:58
云南民族大学 算法工程师
题解 | #查找除复旦大学的用户信息#
select device_id,gender,age,university from user_profile where university not in ('复旦大学') 确定某个属性的值是否在指定的集合内用列名 in/not in(常量1,常量2,...,常量n)
0
点赞
评论
收藏
分享
1
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务