Get a random record in MySQL - Mysql Views : 631
Tagged in : Mysql
0 0
Send mail
To select a random record from mysql table we can use RAND();
For Example:
select * from table_name orderby RAND() limit 0,1;
By Vinoth, On - 2009-02-23



    Login to add Comments .