Revision: 62783
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 12, 2013 22:09 by apphp-snippets
Initial Code
SELECT * FROM TABLE ORDER BY RAND() LIMIT 1
Initial URL
http://www.apphp.com/index.php?snippet=mysql-selecting-random-row
Initial Description
Here the simplest way of selecting random rows from the MySQL database with using "ORDER BY RAND()" clause in the query.
Initial Title
Selecting a Random Row from Table in MySQL
Initial Tags
sql
Initial Language
PL/SQL