SQL to Select a random row from a database table | ||
| ||
| There are lots of ways to select a random record or row from a database table. Here are some example SQL statements that don't require additional application logic, but each database server requires different SQL syntax.
Select a random row with IBM DB2 Thanks Tim
Select a random record with Oracle: Thanks Mark Murphy | ||
| | ||
| |