为什么不能在Oracle中使用?有没有办法在oracle中执行多个左外连接?
有没有办法让这项工作?
FROM table1 a,
table2 b,
table3 c
WHERE a.some_id = '10'
AND a.other_id (+)= b.other_id
AND a.other_id (+)= c.other_id
我想table1
被左外加入了对多表...
如果我试图改变它使用一个ANSI加入,我得到的编译错误。我做了以下操作:
FROM table2 b, table3 c
LEFT JOIN table1 a ON a.other_id = b.other_id and a.other_id = c.other_id
我想澄清。我的印象是,如果(+)在某列的右侧,那么LEFT JOIN就在那张桌子上......我错了吗? 是的我想table1 a是基表 – Omnipresent
你错了 - 看看我提供的 – kdgregory
这样的例子链接。左连接正在完成一个??这意味着我们将获得 – Omnipresent