From: Mark Fenbers <Mark.Fenbers@noaa.gov>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL - SQL <pgsql-sql@postgresql.org>
Subject: Re: Just 1 in a series...
Date: Fri, 02 Dec 2005 12:44:27 -0500
Message-ID: <439087FB.8000003@noaa.gov> (raw)
In-Reply-To: <3720.1133544030@sss.pgh.pa.us>
References: <43908131.9060403@noaa.gov>
<3720.1133544030@sss.pgh.pa.us>
>
>
>You might find the "DISTINCT ON" syntax does just what you want --- see
>the "weather report" example on the SELECT reference page. It's not
>standard SQL though.
>
This works! Thanks!
What would have to be done if I needed a standard SQL solution?
Mark
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: Mark.Fenbers@noaa.gov, tgl@sss.pgh.pa.us
Subject: Re: Just 1 in a series...
In-Reply-To: <439087FB.8000003@noaa.gov>
* 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