日期:2025-07-08 01:07:38 人气:1

    A+
热门评论

oracle的SQL语句中的(+)是干什么用的?

这个(+)是数据连接的意思,用于表外链接,外链接 举例: select a.ENAME,b.ENAME from emp a,emp b where a.MGR=b.empno(+);--外连接 内表或俩表比较有+端强制显示空结果 select a.ENAME as ben,b.ENAME as shangji from emp a,emp b where a.MGR=b.empno(+) and a.hiredate<b.hiredate; select a.dname,b.* from dept a,emp b where a.deptno=b.deptno(+) order by b.empno;

阅读全文