Created
December 9, 2019 03:35
-
-
Save boris1993/2fe360caeaaa3a398c4d66ae62a04d00 to your computer and use it in GitHub Desktop.
Select update in MySQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE users AS target, users AS source | |
SET target.name_one = source.name_colX | |
WHERE target.user_id = source.user_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment