select into 语法:将一张表的内容复制到另一张表
SELECT *
INTO newtable [IN externaldb]
FROM table1;
在mysql中这个语法失效,应该用下面的语法:
create temporary table new_table_name (select * from old_table_name);
时间: 2024-11-08 21:57:45
select into 语法:将一张表的内容复制到另一张表
SELECT *
INTO newtable [IN externaldb]
FROM table1;
在mysql中这个语法失效,应该用下面的语法:
create temporary table new_table_name (select * from old_table_name);