From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jelle Ouwerkerk <jelle@openface.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: random
Date: Mon, 05 Mar 2001 15:50:52 -0500
Message-ID: <20713.983825452@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.NEB.4.10.10103051400050.13137-100000@what.openface.ca>
References: <Pine.NEB.4.10.10103051400050.13137-100000@what.openface.ca>
Jelle Ouwerkerk <jelle@openface.ca> writes:
> Also, is there a way to randomize the order of a result set?
There's always
SELECT * FROM foo ORDER BY random();
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, jelle@openface.ca
Subject: Re: random
In-Reply-To: <20713.983825452@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox