Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:> But random returns a random value from 0-1, right? How does that work> in ORDER BY?
What's the problem? Each row gets a different random value, then wesort.
regards, tom lane