select a,b,c 
into table2
from table1select c,d,e,f
into table3
from table1select g,h,i,j,k
into table4
from table1

解决方案 »

  1.   

    方法1、以下语句:
         select a,b,c into Table2 from Table1
         select c,d,e,f into Table3 from Table1
         select g,h,i,j,k into Table4 from Table1
         drop table Table1
    这种方法会丢掉字段上的DEFAULT等一切约束。方法2、导出脚本->修改脚本成为Table2、Table3、Table4的建表脚本->执行脚本建表->运行以下语句:
         insert Table2 select a,b,c from Table1
         insert Table3 select c,d,e,f from Table1
         insert Table4 select g,h,i,j,k from Table1
         drop table Table1