How to select Random with MySQL
Select random rows from a database base with MySQL
The following query would return 1 random row from the data table:
SELECT * FROM `data` ORDER BY RAND() LIMIT 0,1;
Related PostsIf you liked How to select Random with MySQL; the posts below might interest you too:
|



