insert into tb2(new1,new2) select old1,old2 from tb2

解决方案 »

  1.   

    一楼的没错
    如果系统中没有表tb2
    那么你可以用
    create table tb2 as select old1,old2 from tb2
      

  2.   

    一条语句可以搞定!
    insert into tb2(new1,new2) select old1,old2 from tb2
      

  3.   

    老兄,tb1和tb2有什么关联阿,没有条件就这样随便插入吗?
    insert into tb2(new1,new2) select old1,old2 from tb1 where tb2.XXX=tb1.XXX;
      

  4.   

    insert into tb2(new1,new2) select old1,old2 from tb1