#sql#从一张表中查询到内容然后插入到另外一张表中

mac2024-06-28  54

1、如果两张表字段相同; insert into table1 select * from table2; 2、只取某些字段; insert into table1(field1,field2) select field1,field2 from table2;

最新回复(0)