由于mysql不支持select into 方法,mysql怎样将一张表的查询结果存到另一张表中? 找了两个方法:
第一种:
create table yourtablename select * from student;//用于复制前未创建新表dust的情况下
第二种:
insert into yourtablename select * from student;//已经创建了新表dust的情况下
由于mysql不支持select into 方法,mysql怎样将一张表的查询结果存到另一张表中? 找了两个方法:
第一种:
create table yourtablename select * from student;//用于复制前未创建新表dust的情况下
第二种:
insert into yourtablename select * from student;//已经创建了新表dust的情况下