...

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



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

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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum