pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>
To: pgsql-sql@postgresql.org
Subject: an aggregate to return max() - 1 value?
Date: Thu, 4 Mar 2010 21:09:14 +0100
Message-ID: <20100304200913.GA24865@apartia.fr> (raw)

Hi,

With builtin aggregates is it possible to return the value just before
max(col)?

Thanks,



view thread (6+ messages)  latest in thread

Message-ID: <20100304200913.GA24865@apartia.fr>
Permalink:  ../20100304200913.GA24865@apartia.fr/
Also on:    postgresql.org/message-id/20100304200913.GA24865@apartia.fr

 · 

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: vindex+lists-pgsql-sql@apartia.org
  Subject: Re: an aggregate to return max() - 1 value?
  In-Reply-To: <20100304200913.GA24865@apartia.fr>

* 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