How To Select Random Records Using MySQL
erics, September 28th, 2011
1 2 3 4 5 |
SELECT * FROM yourTable WHERE yourField='WhatYouWishToFindGoesHere' ORDER BY RAND() LIMIT 5 |