Posted By

jordantbro on 01/21/09


Tagged

Postgresql


Versions (?)

Selecting a Random Row In PostgreSQL


 / Published in: SQL
 

  1. SELECT COLUMN FROM TABLE
  2. ORDER BY RANDOM()
  3. LIMIT 1

Report this snippet  

You need to login to post a comment.