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

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的情况下

猜你喜欢

转载自wujq4java.iteye.com/blog/2200501