|
例:create table table2 as select * from tabel1; 創(chuàng)建table2并把table1中的數(shù)據(jù)插入到tabel2中 2.只插入數(shù)據(jù) 例:insert into table2 select * from table1; 將table1中的數(shù)據(jù)插入到table2中 3.只將需要的字段插入到另一表中 例:insert into table2(字段1, 字段2, ...) select 字段1, 字段2, ... from table1; |
|
|