1.内连接:inner join 查询两个表中相同的所有行,左、右连接#的交集。
2.左连接:A left join B on (A. =B. ),以A表为主,A表有,B表无加null
3.右连接:A right join B on (A. =B. ),以B表为主, B表有,A表无加null
4.完全连接: A full join B on (A. =B. ),A表有,B表无加null,B表有,A表无加null ,左、右连接的并集。
5.外连接:
左外连接:(A left outer join B) A=B(+) ,
右外连接:(A right outer join B) A(+)=B,
全外连接:(A full outer join B)
ORACLE之连接
最新推荐文章于 2024-03-28 10:31:21 发布