Posted By

jordantbro on 01/21/09


Tagged


Versions (?)

Who likes this?

7 people have marked this snippet as a favorite

brent-man
robksawyer
xtheonex
vali29
jcroom
jackkeller
jearley


Selecting a Random Row In MySQL


 / Published in: MySQL
 

  1. SELECT COLUMN FROM table
  2. ORDER BY RAND()
  3. LIMIT 1

Report this snippet  

You need to login to post a comment.