insert into 表A select a,b,c from 表B ;
其中查询字段abc需要与表A中的字段对应。如果不是全表,也可以:
insert into 表A (a,b,c) select a',b',c' from 表B ;
查询结果添加至另一个表
最新推荐文章于 2022-11-22 18:05:39 发布
insert into 表A select a,b,c from 表B ;
其中查询字段abc需要与表A中的字段对应。如果不是全表,也可以:
insert into 表A (a,b,c) select a',b',c' from 表B ;