create table AA
as select a1,a2,a3,a4,b2,c2,d2 
from A,B,C,D
where a1=b1(+) and a2=c1(+) and a3=d1(+)
外关联符号位置错误。

解决方案 »

  1.   

    create table table_name as
    select a1,a2,a3,a4,(select b2 from b where a1=b1),(select c2 from c where a2=c1),(select d2 from d where a3=d1) from a;
      

  2.   

    可以,你可以分层来做,原则上先a和b外联接,结果和c外联接,再。。select ... from 
      (
        select ... from
        (
          select a1,a2,a3,a4,b2
          from A,B
          where a1(+)=b1 
        ) temp1, C
        where temp1,a2=C.c1(+) 
      )temp2,D
    where temp2.a3=D.d1(+) 选择什么自己去拼吧
      

  3.   

    改成ykliu1(river) 的那样就可以了。