Skip to main content

Timeline for How to request a random row in SQL?

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Oct 6, 2019 at 13:24 comment added forsberg Nothing. You get the CLOSEST, not exact, id number. If you consider id=1 to be removed, exchange 1 with minimum.
Mar 1, 2019 at 12:25 comment added Ebleme What would happen if generated random ID does not exist in table anymore? Deleted or passive rows that you don't want to show to user would cause a trouble.
Mar 10, 2017 at 16:33 history edited forsberg CC BY-SA 3.0
deleted 19 characters in body
Mar 10, 2017 at 16:19 history answered forsberg CC BY-SA 3.0