create table TAB_NEW as select * from TAB_OLDspa
create table TAB_NEW as select * from TAB_OLD where 1=2;table
若是兩個表結構同樣:select
insert into TAB_NEW select * from TAB_OLD 數據
若是兩個表結構不同:tab
insert into TAB_NEW (column1,column2...) select column1,column2... from TAB_OLDco