查询结果不仅返回满足条件的所有记录,还会返回不满足条件的部分记录,操作符号(+)
select table1.column, table2.column from table1, table2
where table1.column1(+) = table2.column2; //操作符(+)应放置在完全满足条件行的一端,即时显示记录较少的那行
select d.dname,e.ename from dept d,emp e
where d.deptno=e.deptno(+) and e.deptno(+)=10;
//除了显示emp中满足条件的员工名称、部门名称外,还显示dept中其他部门名称
若where中有多个条件,则必须在所有条件都包含(+);
(+)只适用于列,不能用于表达式
(+)不能和OR和IN操作符一起适用