liulanle

SQL关键字:

distinct:去重复

all:保留重复

as:更名

%:匹配任意字符串

_:匹配任意一个字符

\:转义字符

*:所有列

desc:降序

asc:升序

between...and...:之间,包括边界

not between:

union:并运算,去重复

union all:并运算,不去重复

intersect:交运算

except:差运算

avg:求平均值

min:最小值

max:最大值

sum:求和

count:个数

in:是否是集合中的成员

not in:是否不是集合中的成员

some:其中某一个

all:所有

exists:是否存在

unique:是否重复

with:提供定义临时关系的方法

分类:

技术点:

相关文章:

  • 2021-09-16
  • 2021-12-05
  • 2022-01-06
  • 2021-11-03
  • 2021-12-05
  • 2021-09-08
猜你喜欢
  • 2021-05-21
  • 2021-12-05
  • 2021-10-02
  • 2021-12-05
  • 2021-06-14
  • 2021-08-03
  • 2021-08-19
相关资源
相似解决方案