Get a random record in MySQL - Mysql Views : 631
Tagged in : Mysql
Send mail vote down 0 vote down 0
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 .