表 table1
有 500,000 行。我只想将其中的 200,000 个从 table1
插入到 table2
,我该怎么做?
最佳答案
INSERT
INTO table2
SELECT *
FROM table1
ORDER BY
id -- or whatever
LIMIT 200000
关于mysql - 如何将表1的数据插入表2?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4830412/