pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aaron Bono <postgresql@aranya.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Am I crazy or is this SQL not possible
Date: Thu, 01 Jun 2006 22:41:17 -0400
Message-ID: <23448.1149216077@sss.pgh.pa.us> (raw)
In-Reply-To: <bf05e51c0606011844s5553241ev144934da7e52f5f0@mail.gmail.com>
References: <df01c91b0606011043g61328d6habaee8fa037a5ccf@mail.gmail.com>
	<14505.1149189691@sss.pgh.pa.us>
	<bf05e51c0606011844s5553241ev144934da7e52f5f0@mail.gmail.com>

"Aaron Bono" <postgresql@aranya.com> writes:
> Is this SQL-99 compliant or a PostgreSQL specific query?  I really like it
> and have never seen this before.

DISTINCT ON is a Postgres-ism, I'm afraid.  It's pretty handy though.

			regards, tom lane



view thread (20+ messages)  latest in thread

Message-ID: <23448.1149216077@sss.pgh.pa.us>
Permalink:  ../23448.1149216077@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23448.1149216077@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, postgresql@aranya.com
  Subject: Re: Am I crazy or is this SQL not possible
  In-Reply-To: <23448.1149216077@sss.pgh.pa.us>

* 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