How to copy the selected row from the mySql table and paste only with the changed key value. Can I select and paste into the same query?
To be precise, what I want would look like this:
Columns, ID and ISO3 are keys:
+----+------+-------------------------+ | ID | ISO3 | Text | +----+------+-------------------------+ | 1 | ENU | A text in english | | 2 | ENU | Another text in english | | 3 | ENU | bla bla | | 1 | JPN | δΈγγγγζ | +----+------+-------------------------+
After pasting, I want my table to look like this:
+----+------+---------------------------+ | ID | ISO3 | Text | +----+------+---------------------------+ | 1 | ENU | A text in english | | 2 | ENU | Another text in english | | 3 | ENU | bla bla | | 1 | JPN | δΈγγγγζ | | 2 | JPN | Another text in english | | 3 | JPN | bla bla | +----+------+---------------------------+
Muleskinner
source share