1:union(并集)     union连接两条sql语句,并且去除两条sql语句重复的记录

oracl中的集合操作符

2.union all(并集) 接两句sql语句,两句sql语句的和不用去掉重复的记录。 

oracl中的集合操作符

3:intersect(交集)Intersect连接两句sql语句 取查询出来的两个集合的 共同部分。

oracl中的集合操作符

4:minus(补集)  Minus 连接两句sql 语句,取查询出来的两个集合的差。

oracl中的集合操作符

 

相关文章:

  • 2021-11-22
  • 2022-03-09
  • 2021-07-17
  • 2021-05-27
  • 2022-01-18
  • 2021-10-10
猜你喜欢
  • 2021-10-20
  • 2021-11-29
  • 2021-06-04
  • 2021-11-26
  • 2021-05-17
  • 2022-12-23
  • 2021-09-30
相关资源
相似解决方案