和田です。 Yutaka tanida wrote: > ちなみに、PostgreSQLならではの奇妙な方法ですが、こんなのもあります。 > > select ... order by (oid * v1) % v2 ; order by random() でもいいと思います。