Oracle中join采用Oracle特殊支持可提高性能

来源:互联网 发布:java public 函数 编辑:程序博客网 时间:2024/06/05 06:12
Oracle中join采用Oracle特殊支持,性能高于left join ,right join,并且在才能加密过程、函数


--内连接   
select   *   from   table1 a,   table2 b   where   a.a=b.a;   
--左连接   
select   *   from   table1  a,   table2 b   where   a.a=b.a(+);   
--右连接   
select   *   from   table1 a,   table2 b   where   a.a(+)=b.a;   
--完全连接   
select   *   from   table1 a,   table2 b   where   a.a=b.a(+)   
union   
select   *   from   table1 
原创粉丝点击