Re: Is this query possible in PostgreSQL ? - Mailing list pgsql-general

From Tom Lane
Subject Re: Is this query possible in PostgreSQL ?
Date
Msg-id 14547.1027923446@sss.pgh.pa.us
Whole thread Raw
In response to Re: Is this query possible in PostgreSQL ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: "Alex Cheung Tin Ka"
Date:
Subject: type conversion between text and timestamp
Next
From: strange@nsk.yi.org
Date:
Subject: Re: Shell Script help for backup