怎么样查询一条结果 将这个结果保存到另一个表里啊 
俩个表的字段完全一样,,,
select * from table where id= 2
将上面的结果保存到 Table2 中~

解决方案 »

  1.   

    select * into table2 from table where id=2
      

  2.   

    INSERT INTO Table2 
        SELECT * FROM table WHERE [id]= 2 
      

  3.   

    insert into table2 (字段名)
    select (字段名) from table where id= 2 
      

  4.   

    insert into Table2 select * from table where table.id=2;
      

  5.   

    insert into table2 (2表字段名) 
    select (1表字段名字段名) from table1 where id= 2 
      

  6.   


    自段不一样也无所谓啊
    你就直接insert into a(id,name) select code,cname from b因为这样select检索出来的等于是值,不是字段名,但是你的数量要一致,类型也要兼容
    values('','')这样的不是也不要求字段