Monday 23 June 2014

How to fetch randomly two records from table in mysql


How to fetch randomly two records from table in mysql

select * from table order by rand() limit 0,2

No comments: