Selecting a Random Row

Submitted by:David Villa

Date added:29 July, 2013

Category:MySQL

Selecting a Random Row from Table in MySQL

Tags: random row

Code Snippet:

    SELECT * FROM TABLE
ORDER BY RAND()
LIMIT 1
 
 

Comments