rand() to random() for PostgreSQL

PostgreSQL doesn’t have rand(), it has random()