Re: Numbering rows - Mailing list pgsql-general

From Richard Broersma
Subject Re: Numbering rows
Date
Msg-id 396486430810160716t21b87a6bwb82331e98a3bb99@mail.gmail.com
Whole thread Raw
In response to Re: Numbering rows  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Responses Re: Numbering rows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Wed, Oct 15, 2008 at 10:21 PM, A. Kretschmer
<andreas.kretschmer@schollglas.com> wrote:
>
> Can you show an example for 8.4?

I looked for ROW_NUMBER in the developer docs.  I could only find it
under the KEY WORDS list.  I guess they haven't put in a good example
yet.

I saw this recently demonstrated at PgWest by Dave Fetter.  He
illustrated several example of how to use analytic functions such as
these.

http://fetter.org/Window_Functions_WEST_2008.pdf
http://fetter.org/Trees_and_More_WEST_2008.pdf

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

pgsql-general by date:

Previous
From: Ivan Sergio Borgonovo
Date:
Subject: further tests with 8.3 was: Re: Drupal and PostgreSQL - performance issues?
Next
From: Tom Lane
Date:
Subject: Re: further tests with 8.3 was: Re: Drupal and PostgreSQL - performance issues?