Get random number
postgres=# postgres=# SELECT random(); random ------------------- 0.943210952423145 (1 row) postgres=# postgres=#