📜  innodb 在表之间快速移动行 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:05.299000             🧑  作者: Mango

代码示例1
INSERT INTO table2
SELECT *
FROM table1
WHERE 

DELETE FROM table1 
WHERE table1.id in
(SELECT table2.id 
FROM table2)