Created
October 31, 2017 12:52
-
-
Save NimzyMaina/9c4322011fd658a55c91c5168a8e9a7b to your computer and use it in GitHub Desktop.
Updating MySQL tables with random data
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
UPDATE backup | |
SET agent_code = ELT(1 + FLOOR(RAND()*8), | |
'73572689', | |
'82778947', | |
'65857689', | |
'93335986', | |
'39894552', | |
'25344286', | |
'35939776', | |
'79822264'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment