Random not so random

Поиск
Список
Период
Сортировка
От Arnau Rebassa
Тема Random not so random
Дата
Msg-id BAY15-F34sG06vdGg1f000253ee@hotmail.com
обсуждение исходный текст
Ответы Re: Random not so random  (Jean-Luc Lachance <jllachan@sympatico.ca>)
Re: Random not so random  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Hi everybody,

I'm doing the following query:

   select * from messages order by random() limit 1;

in the table messages I have more than 200 messages and a lot of times, the
message retrieved is the same. Anybody knows how I could do a more "random"
random?

Thank you very much

--
Arnau

_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo EE.UU.
http://latino.msn.com/empleos


В списке pgsql-general по дате отправления:

Предыдущее
От: Barry S
Дата:
Сообщение: Re: Hardware recommendations
Следующее
От: sklassen@commandprompt.com
Дата:
Сообщение: Re: Postgresql commands to display all functions and process/connections based on a database.