Skip to content

Instantly share code, notes, and snippets.

@mamedshahmaliyev
Created January 8, 2021 10:46
Show Gist options
  • Save mamedshahmaliyev/b0a32c45d939338b9f8c3fa54cefd4ec to your computer and use it in GitHub Desktop.
Save mamedshahmaliyev/b0a32c45d939338b9f8c3fa54cefd4ec to your computer and use it in GitHub Desktop.
MySQL randoms
# random between 10 and 5
select FLOOR(RAND()*(10-5+1)+5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment