Selecting a Random Row from Table in MySQL


/ Published in: PL/SQL
Save to your folder(s)

Here the simplest way of selecting random rows from the MySQL database with using "ORDER BY RAND()" clause in the query.

URL: http://www.apphp.com/index.php?snippet=mysql-selecting-random-row

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.