What is a fast way to select a random row from a large mysql table?
I\'m working in php, but I\'m interested in any solution even if it\'s in another language.
An easy but slow way would be (good for smallish tables)
SELECT * from TABLE order by RAND() LIMIT 1