📜  复制表 db - SQL 代码示例

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

代码示例1
USE database;

CREATE TABLE newTable LIKE oldTable;

INSERT INTO newTable SELECT * FROM oldTable;