Subscribe For Free Updates!

We'll not spam mate! We promise.

Mar 9, 2013

Mysql - Get the record randomly


Mysql - Get the record randomly

 RAND() function is used to get the random record from table.


For Example:
select * from tab_name orderby RAND() limit 0,5;

TechniqZone Socializer Widget
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment