use View:
create view ...
   select A.a1,A.a2,B.b3
     from A,B
    where A.a1=B.b1
     and  A.a2=B.b2

解决方案 »

  1.   

    用一般的连接即可
    select A.a1,A.a2,B.b3
         from A,B
        where A.a1=B.b1
         and  A.a2=B.b2
      

  2.   

    create table C as select A.a1,A.a2,B.b3
         from A,B
        where A.a1=B.b1
         and  A.a2=B.b2;
      

  3.   

    补充一下,应该是新表包含A表所有记录和B表中对应记录的b3字段。
      

  4.   

    create table C as select A.a1,A.a2,A.a3,B.b3 
                        from A,B
                       where A.a1=B.b1(+)
                         and A.a2=B.b2(+);
      

  5.   

    create table C as (select A.a1,A.a2,A.a3,B.b3 
                        from A,B
                       where A.a1=B.b1(+)
                         and A.a2=B.b2(+));