Created
March 24, 2019 14:16
-
-
Save Kcko/b0691fd7319904c9c8cfd6999825bed1 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
-- For range (min..max( (min inclusive, max exclusive) it is: | |
FLOOR( RAND() * (max-min) + min ) | |
-- For range (min..max) (min+max inclusive) it is: | |
FLOOR( RAND() * (max-min+1) + min ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment