MySQ将查询结果保存到表中

把查询的结果保存到新表中

insert into newtablename select * from tablename; 
如果表不存在
creat table newtablename as select * from tablename;

 

 

posted on 2021-02-12 09:33  PerfectData  阅读(83)  评论(0编辑  收藏  举报

导航