Re: Numbering rows

From: "Richard Broersma" <richard(dot)broersma(at)gmail(dot)com>
To: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Numbering rows
Date: 2008-10-16 14:16:52
Message-ID: 396486430810160716t21b87a6bwb82331e98a3bb99@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 15, 2008 at 10:21 PM, A. Kretschmer
<andreas(dot)kretschmer(at)schollglas(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-10-16 14:29:44 Re: further tests with 8.3 was: Re: Drupal and PostgreSQL - performance issues?
Previous Message Ivan Sergio Borgonovo 2008-10-16 14:07:56 further tests with 8.3 was: Re: Drupal and PostgreSQL - performance issues?