1
子查询特点
作为查询条件,临时表,列使用
降低难度,提高可读性
2
in
not in
exists 在
not exists 不在
3
查询信息
select * from 变量1 where exists
(select * from 变量2 where 变量2.stuid=变量1.stuid)
4
some
any
all
5
compute
compute by
6
排序函数
语法:排序函数over([分组子句]排序子句[desc|asc])
row_number 递增连续
rank 递增并且跳空
dense_rank 递增不跳空
分组子句: partition by 分组列
排序子句: order by 排序列
7
公式表达式
第三章总结
最新推荐文章于 2023-12-18 22:35:35 发布