Re: Is this query possible in PostgreSQL ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is this query possible in PostgreSQL ?
Дата
Msg-id 14547.1027923446@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Is this query possible in PostgreSQL ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> SELECT * from some_table WHERE MOD(some_row, :n) = 0;

> So this allows you to get every Xth result, like every 3rd row.  Wow,
> that is interesting.

s/interesting/useless/.  Every third row in what ordering?  And don't
tell me about ORDER BY, because WHERE conditions are processed before
ORDER BY.

            regards, tom lane

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

Предыдущее
От: "Alex Cheung Tin Ka"
Дата:
Сообщение: type conversion between text and timestamp
Следующее
От: strange@nsk.yi.org
Дата:
Сообщение: Re: Shell Script help for backup