Created
May 8, 2019 08:12
-
-
Save pierot/a6282eac19f95f5f68eeab32b9744235 to your computer and use it in GitHub Desktop.
This file contains 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
SET @rank:=0; | |
UPDATE users SET email = CONCAT('test+', @rank:=@rank+1, '@test.be') WHERE id > 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment