1.复制表数据和结构
create table new_table_name select * from table_name;
new_table_name 新表
table_name 源表
2.只复制表结构
create table new_table_name like table_name;
new_table_name 新表
table_name 源表
3.只拷贝数据
insert into new_table_name select * from table_name;
new_table_name 新表
table_name 源表
原文:https://www.cnblogs.com/haloujava/p/12162972.html