练习时长两年半的高级磨洋工很胖墩墩
练习时长两年半的高级磨洋工很胖墩墩
全部文章
分类
归档
标签
去牛客网
登录
/
注册
练习时长两年半的高级磨洋工很胖墩墩的博客
全部文章
(共11篇)
题解 | #高级操作符练习(1)#
select device_id,gender,age,university,gpa from user_profile where gender = 'male' and gpa > '3.5'
2023-08-12
0
370
题解 | #用where过滤空值练习#
select device_id,gender,age,university from user_profile where age is not null
2023-08-12
0
273
题解 | #查找除复旦大学的用户信息#
select device_id,gender,age,university from user_profile where university not in ("复旦大学") select device_id,gender,age,university from user_...
2023-08-12
2
346
题解 | #将查询后的列重新命名#
select device_id as user_infos_example from user_profile limit 2 as 修改列名 limit 查询前n行数据
2023-08-12
3
876
题解 | #查询结果限制返回行数#
select device_id from user_profile limit 2 使用limit+数字 查找前几行的数据
2023-08-12
1
495
题解 | #查询结果去重#
select university from user_profile group by university 使用group by 对university每一条数据进行分组,进而达到去重的目的
2023-08-12
6
702
题解 | #查询多列#
select device_id,gender,age,university from user_profile select 要查询的列名 from 要查询的表名
2023-08-12
0
281
题解 | #查询所有列#
select * from user_profile 没什么好说的,查找全表内容*
2023-08-12
0
336
题解 | 2021年国庆在北京接单3次及以上的司机统计信息
select '北京' as 'city', round(avg(c.d),3) as avg_order_num, round(avg(c.e),3) as avg_income from ( select b.driver_...
2023-02-07
2
635
题解 | #2021年11月每天的人均浏览文章时长#
select date_format(in_time,'%Y-%m-%d') as dt, round(sum(timestampdiff(second,in_time,out_time))/count(distinct uid),1) as avg_viiew_len_sec fro...
2023-02-07
0
292
首页
上一页
1
2
下一页
末页