select a.c_id,a.c_col1,b.c_col2
from a,b 
where a.c_id=b.c_id(+);

解决方案 »

  1.   

    select a.c_id,a.c_col1,b.c_col2 from a,b where a.c_id=b.c_id(+)
    union
    select b.c_id,a.c_col1,b.c_col2 from a,b where a.c_id(+)=b.c_id
      

  2.   

    sorry
    8i按照楼上的方法
    9i用
    select  a.c_id,a.c_col1,b.c_col2  
    from  a full outer join b    
    on (a.c_id=b.c_id);
      

  3.   

    谢放,但还是没解决问题啊,这相当于左关联,只能得出A表的两条数据,
    001,"11","dd"
    002,"22",null