Chara has posted 50 posts at DZone. View Full User Profile
-- source: http://www.apphp.com/index.php?snippet=mysql-selecting-random-row
SELECT * FROM TABLE
ORDER BY RAND()
Here the simplest way of selecting random rows from the MySQL database with using "ORDER BY RAND()" clause in the query.
thank you good job
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...