How to copy a row and insert in same table with a autoincrement field in MySQL?

后端 未结 13 1001
旧时难觅i
旧时难觅i 2020-11-29 15:55

In MySQL I am trying to copy a row with an autoincrement column ID=1 and insert the data into same table as a new row with

相关标签:
13条回答
  • 2020-11-29 16:52

    Dump the row you want to sql and then use the generated SQL, less the ID column to import it back in.

    0 讨论(0)
提交回复
热议问题