2010-05-12 37 views

回答

8

因爲它們是相同的結構,那麼你可以做


insert into table1 select colum1, column2,... from table2 
6

離開了值關鍵字

insert into tbl1 
select * from tbl2 
+3

你不想讓數據庫引擎假定場序,是明確的 – 2010-05-12 18:11:11

15
insert into tablea(id,name) select id,name from tableb; 
4
insert into blacklist 
select * 
from newblacklist 

上傳任何單一的數量

insert into blacklist 
select * 
from newblacklist 
where numbers ='123456' 
相關問題