Select a random row with MySQL:
Select column FROM table
ORDER BY RAND()
LIMIT 1
Select a random row with PostgreSQL:
Select column FROM table
ORDER BY RANDOM()
LIMIT 1
Select a random row with Microsoft SQL Server:
Select TOP 1 column FROM table
ORDER BY NEWID()
Select a random row with IBM DB2
Select column, RAND() as IDX
FROM table
ORDER BY IDX FETCH FIRST 1 ROWS ONLY
Thanks Tim
Select a random record with oracle:
Select column FROM
( Select column FROM table
ORDER BY dbms_random.value )
Where rownum = 1