ITeye博客

Mysql不支持 SELECT INTO复制表Create table Select 替代

不朽之城 · 2015-04-09 10:40 · 数据库 · Mysql · 数据库 · Markdown

Mysql不支持

    Select * Into new_table_name from old_table_name;
替代方法:
     Create table new_table_name Select * from old_table_name where id = -1;

 

insert into dust select * from student;//已经创建了新表dust的情况下

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。