2

これを書き換える方法:

select tab1.id, tab2.id, tab3.id 
from tab1, tab2, tab3 
where tab1.col1 = tab2.col1(+) and tab2.col2 = tab3.col2(+);

OUTER JOIN 構文を使用していますか?

4

1 に答える 1

8
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;
于 2008-11-28T14:21:17.647 に答える