select a.id, b.id from a, b where a.cn = b.cn(+) and b.type(+) = '1'
select a.id, b.id from a, b where a.cn = b.cn(+) and b.type = '1'
这2段sql文执行结果有什么不一样?with a as(select 1 id,'a' str from dual union all select 2,'a' from dual union all select 3,'a' from dual), b as(select 1 id,'b' str from dual union all select 2,null from dual) select * from a,b where a.id=b.id(+) and b.str='b'