我有兩個完全相同的表。表A具有例如100行,表B有60行。現在我想從插入表A「失蹤」行到表B. 要找到我會用不同的行:將表A和表B之間的不同行插入表B
select * from tableA where language = 4
union
select * from tableB where language = 4
如何正確使用此代碼與「INSERT INTO」語句? 我的想法:
Insert into tableB
(Select * from tableA where language = 4
union
select * from tableB where language = 4)
問候
您是否嘗試過除外? – jarlh
你有兩張桌子的身份嗎? – Japongskie
爲什麼不使用合併? – User2012384