select into 语法:将一张表的内容复制到另一张表
SELECT *
INTO newtable [IN externaldb]
FROM table1;
在mysql中这个语法失效,应该用下面的语法:
create temporary table new_table_name (select * from old_table_name);
run127 2016-05-25 17:28 原文
select into 语法:将一张表的内容复制到另一张表
SELECT *
INTO newtable [IN externaldb]
FROM table1;
在mysql中这个语法失效,应该用下面的语法:
create temporary table new_table_name (select * from old_table_name);