📜  将数据从旧表移动到新表 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:58.726000             🧑  作者: Mango

代码示例1
alter table tablename rename to oldtable;
create table tablename (column defs go here);
insert into tablename (col1, col2, col3) select col1, col2, col3 from oldtable;