sql语句,数据库中,同表添加,主键不同,数据相同。

 insert into tablename(各个字段名)
select #新主键值,其他字段名
from tablename
where No = #表中主键值


原文地址:https://www.cnblogs.com/honway/p/9869307.html