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

 insert into tablename(各个字段名)  select #新主键值,其余字段名  from tablename  where No = #表中主键值
相关文章
相关标签/搜索