如何重写这个:
select tab1.id, tab2.id, tab3.id
from tab1, tab2, tab3
where tab1.col1 = tab2.col1(+) and tab2.col2 = tab3.col2(+);
使用 OUTER JOIN 语法?
select tab1.id, tab2.id, tab3.id
from tab1
left outer join tab2 on tab1.col1 = tab2.col1
left outer join tab3 on tab2.col2 = tab3.col2;
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)