1)insert into TableName values('data')

解决方案 »

  1.   

    2)insert into c (c1,c2,c3) select c1,c2,c3 from a,b where ...
      

  2.   

    insert into c (c1,c2,c3) select c1,c2,c3 from a,b where ...
     c1 c2  c3 是字段名还是什么。如果是字段名的话。那两个表的字段名不一样的话怎么办呢?
    希望高手可以说的详细一点哈。
      

  3.   

    insert into c (a,b,c) select a.c1,a.c2,b.c3 from a,b where ...