Duplicate rows in the database
52228
Locking a MySQL database so only one person at once can run a query?
110974
Switch id numbers of two rows in MySql
112312
Create unique sequence per set of rows sharing the same foreign key value
143678
Insert multiple rows with one query MySQL
143217
Auto-increment ids with multiple inserts in mysql/mariadb
122501
Why does upsert cause a DUPLICATE_VALUE error?
36855
Moving rows 'up and down' in a database (SQL query help)
110610
Quickest way to clone row in SQL
84870
Merge duplicate records into 1 field
143056
Can I use set instead of List to resolve the duplicate id issue
68346
What's the best way to join on the same table twice?
36636
list management, deletion of duplicates
135259
How do you copy a record in a SQL table but swap out the unique id of the new row?
21641
Remove duplicate entries, keeping latest only
105883
Inserting multiple rows in a single SQL query?
98961
Delete duplicate records in SQL Server?
10401
What is the easiest way to duplicate an activerecord record?