2011-09-26 44 views
1

我正試圖從一個表加載數據到另一個表。但我只需要表格中的特定屬性。 例如,如何從一個表加載特定屬性到另一個表?

我有兩個表,SourceDest(表我把加載的數據)(我是從加載表)

源具有IDBirthydayHometownAddressCurrentAddressGender和Dest將包括IDBirthdayGender

我怎樣才能只加載我需要的Dest表?

回答

1
insert into dest (select id, birthyday from source) 
+0

很高興你正在改進正常化 – Randy

+0

謝謝!它有幫助 –

相關問題