可以这样用的 select a from table1   union select  a from table2 union select  a from table3,你可以试

解决方案 »

  1.   

    外连接?union?
    楼主的概念有点混淆。
      

  2.   

    搂主是这个意思,
    select a.*,b.* from a full outer join b where a.id = b.id 
    这个sql等价于
    select a.*,b.* from a,b where a.id(+) = b.id
    union
    select a.*,b.* from a,b where a.id = b.id(+)
    他要在3个表中实现full outer jion的效果,但是8i好像不支持full outer jion,所以就union2个外联结
      

  3.   

    8i不支持full outer join?
    你听谁说的
      

  4.   

    ORACLE8i是不直接支持完全外连接的语法,也就是说不
    能在左右两个表上同时加上(+),这样是不对的 a,id(+) = b.id(+)
    9i才支持这样的写法:select a.*,b.* from a full outer join b on a.id = b.id
    8i要实现完全外连接只能用上面的2个左右外连接进行union