Created
May 30, 2021 12:22
-
-
Save rgardner/485007a7fee464fe3bb6135bff469b08 to your computer and use it in GitHub Desktop.
SQL get random row
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
SELECT * FROM table ORDER BY RANDOM() LIMIT 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment