首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
牛客257734998号
获赞
2
粉丝
0
关注
5
看过 TA
4
University of Chicago
2022
产品经理
IP属地:广东
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑牛客257734998号吗?
发布(43)
评论
刷题
收藏
牛客257734998号
关注TA,不错过内容更新
关注
2022-03-29 12:22
University of Chicago 产品经理
题解 | #高级操作符练习(1)#
device_id, gender, age, university, gpa//where 里的字段,一定要select了才能用 from user_profile where gpa > 3.5 and gender = 'male'
0
点赞
评论
收藏
分享
2022-03-29 12:12
University of Chicago 产品经理
题解 | #用where过滤空值练习#
device_id, gender, age, university from user_profile where age is not null//print的表是某个值不是空的数据
0
点赞
评论
收藏
分享
2022-03-29 12:07
University of Chicago 产品经理
题解 | #查找除复旦大学的用户信息#
device_id, gender, age, university from user_profile where university <>'复旦大学'//<> 和!= 都是不等于号
0
点赞
评论
收藏
分享
2022-03-29 11:56
University of Chicago 产品经理
题解 | #查找某个年龄段的用户信息#
device_id, gender, age from user_profile where age >= 20 and age <= 23 // 取20<=a<=23的时候,用 and 连接前后条件,要写在同一行内,不能分开隔行
0
点赞
评论
收藏
分享
2022-03-29 11:51
University of Chicago 产品经理
题解 | #查找年龄大于24岁的用户信息#
device_id, gender, age, university from user_profile where age > 24 //找出年龄大于24的,select里写的是需要print的列名称
0
点赞
评论
收藏
分享
2022-03-29 11:44
已编辑
University of Chicago 产品经理
题解 | #查找后降序排列#
device_id, gpa, age from user_profile order by gpa desc,age desc //同时按a,b升序排列是,order by a,b asc;同时按a,b降序是 order by a desc,b desc,每个列名称后要加desc,且用逗号隔开!
0
点赞
评论
收藏
分享
2022-03-29 11:36
University of Chicago 产品经理
题解 | #查找后多列排序#
device_id, gpa, age from user_profile order by gpa,age asc// 想要同时按 gpa,age的升序排序,orderby 后的内容用逗号隔开
0
点赞
评论
收藏
分享
2022-03-29 11:31
University of Chicago 产品经理
题解 | #查找后排序#
device_id, age from user_profile order by age asc order by xx asc // 按xx升序排序 order by xx desc // 按xx降序排序
0
点赞
评论
收藏
分享
2022-03-29 11:16
已编辑
University of Chicago 产品经理
题解 | #查找学校是北大的学生信息#
device_id,university // select的时候要包含where的内容 from user_profile where university='北京大学'
0
点赞
评论
收藏
分享
2022-03-29 11:17
已编辑
University of Chicago 产品经理
题解 | #查询结果限制返回行数#
device_id as user_infos_example // 将 a 改名为 b = selce a as b from user_profile limit 2
0
点赞
评论
收藏
分享
2022-03-29 10:56
University of Chicago 产品经理
题解 | #查询多列#
select a,b,c,d //要用逗号隔开 from user_profile
0
点赞
评论
收藏
分享
2022-03-29 10:47
University of Chicago 产品经理
题解 | #查询所有列#
select * from user_profile
0
点赞
评论
收藏
分享
2022-03-08 09:20
University of Chicago 产品经理
22届春招 产品面试
22届春招小伙伴春招都开始了嘛?等了好久都还没面试机会,但是害怕面试机会来了的时候自己又没准备好。 所以想如果有产品面试诉求的小伙伴,我们可以互相模拟面试互帮互助,共同成长!!! 有兴趣的小伙伴滴滴我~
0
点赞
评论
收藏
分享
1
2
3
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务