首页 > 数据库技术 > 详细

Oracle 12C -- native left outer join的加强

时间:2015-08-10 14:45:48      阅读:205      评论:0      收藏:0      [点我收藏+]
在11g中
SQL> select count(*)
  2    from emp a, dept b, bonus c
  3   where a.deptno(+) = b.deptno
  4     and a.ename(+) = c.ename;
where a.deptno(+) = b.deptno
                   *
ERROR at line 3:
ORA-01417: a table may be outer joined to at most one other table

SQL>

在12C中
SQL> select count(*)
  2    from emp a, dept b, bonus c
  3   where a.deptno(+) = b.deptno
  4     and a.ename(+) = c.ename;
  COUNT(*)
----------
         0
SQL> 

Oracle 12C -- native left outer join的加强

原文:http://www.cnblogs.com/abclife/p/4717962.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!