mysql将一张表的查询内容存至另一张表

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

猜你喜欢

转载自blog.csdn.net/Dorisi_H_n_q/article/details/82217611