sql語句,數據庫中,同表添加,主鍵不一樣,數據相同。

 insert into tablename(各個字段名)  select #新主鍵值,其餘字段名  from tablename  where No = #表中主鍵值
相關文章
相關標籤/搜索