1.格式如下
insert into tablename (字段名1,字段名2,...,字段名3) select 字段名1,字段名2,...,字段名3 from tablename where id=...
2.例子
insert into Z_SFC_BIND_SN_DETAIL (HANDLE,SITE,SFC_BIND_SN_BO,LARGE_SN) select '20211015',SITE,SFC_BIND_SN_BO,LARGE_SN from Z_SFC_BIND_SN_DETAIL
where HANDLE='d3cae34f-fb57-490f-b04f-04384848eea8'
注:插入数据时要注意主键,如上所示主键字段是HANDLE,插入主键值为20211005