select 表1.A,表1.B,表2.C  into 表3
from 表1,表2
where 表1.A=表2.A

解决方案 »

  1.   

    select table1.A,table1.B,table2.C into table3 from table1,table2 where table1.A=table2.A
      

  2.   

    insert into 表3 select a.字段A,a.字段B,b.字段C from 表A a﹐表B b
    where a.字段A=b.字段A
      

  3.   

    表3已經存在
    insert into 表3 select a.字段A,a.字段B,b.字段C from 表A a﹐表B b
    where a.字段A=b.字段A
    表3不存在
    select a.字段A,a.字段B,b.字段C into 表3 from 表A a﹐表B b
    where a.字段A=b.字段A
      

  4.   

    同意楼上
    如果自定义字段名,as 一下就可以了。
    select 表1.A as 字段1 ,表1.B as 字段2 ,表2.C as 字段3  into 表3
    from 表1,表2
    where 表1.A=表2.A
      

  5.   

    select 表1.字段A, 表1.字段B, 表2.字段C into 表3
    from 表1 inner join 表2 on 表1.字段A = 表2.字段A