Re: oracle rank() over partition by queries - Mailing list pgsql-general

From Rodrigo De León
Subject Re: oracle rank() over partition by queries
Date
Msg-id a55915760709111003qe180601q84e3795a8e39f273@mail.gmail.com
Whole thread Raw
In response to oracle rank() over partition by queries  ("sharmi Joe" <sha.question@gmail.com>)
List pgsql-general
On 9/11/07, sharmi Joe <sha.question@gmail.com> wrote:
> Hi,
> Is there a way to get the oracle's rank() over partition by queries in
> postgresql? For example if I have a query like
>
> Select Col1, Col2, RANK() OVER(PARTITION BY Col1 order by Col3 desc) as rank
> from table1
>
> Thanks in advance

See:
http://troels.arvin.dk/db/rdbms/#select-top-n

pgsql-general by date:

Previous
From: "Phoenix Kiula"
Date:
Subject: Re: Hardware recommendation: which is best
Next
From: "George Pavlov"
Date:
Subject: Re: Question about a query with two count fields