select *
from A, B
where A.field1 = B.field1(+)
and B.field2=xxx
这种写法会过滤掉A,B join 后中field2不满足条件的值(特别是field 为null时),达不到左外连接的要求。
改为
select *
from A left join B
on A.field1 = B.field1(+) and B.field2=xxx
或者
select *
from A, B
where A.field1 = B.field1(+)
and B.field2(+)=xxx