首页 > 技术文章 > Mysql通过SQL脚本复制表

silfox 2018-04-18 14:48 原文

 

 1 create table if not exists t_dest like t_src 

其中,t_src是要复制的原始表,t_dest是要创建的新表。

推荐阅读