That is, the ordering by RAND is the trick. I forget which version of MySQL introduces it, but if you don't have it, the other suggestions presented are a bit more portable.SELECT ssn FROM ssn_table ORDER BY RAND LIMIT 3
In reply to Re: Random Picks
by Masem
in thread Random Picks
by lestad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |