PDA

View Full Version : how to select three random entries from mysql ?



jasonpc1
05-10-2011, 12:43 PM
How I can get three random non repeating entires from mysql.

abduraooft
05-10-2011, 12:57 PM
SELECT some_thing from some_table order by rand() LIMIT 3