pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: yaubi@yaubi.com
To: pgsql-sql@postgresql.org
Subject: Number the lines
Date: 14 Sep 2001 05:05:49 -0700
Message-ID: <70c8063b.0109140405.1895bf0d@posting.google.com> (raw)

how can I number the result's lines of a sql query ?

explaination : I have a query which return me a list of values. I need
to order them (it's ok, easy ;) and then number the lines. The goal is
then to extract, for example, "the third maximum value".

Tx in advance !
Yoann



view thread (6+ messages)  latest in thread

Message-ID: <70c8063b.0109140405.1895bf0d@posting.google.com>
Permalink:  ../70c8063b.0109140405.1895bf0d@posting.google.com/
Also on:    postgresql.org/message-id/70c8063b.0109140405.1895bf0d@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: yaubi@yaubi.com
  Subject: Re: Number the lines
  In-Reply-To: <70c8063b.0109140405.1895bf0d@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox