Re: Query combination query. (fwd) - Mailing list pgsql-novice

From john-paul delaney
Subject Re: Query combination query. (fwd)
Date
Msg-id Pine.LNX.4.44.0502221623220.13607-100000@angelico.justatest.com
Whole thread Raw
In response to Re: Query combination query. (fwd)  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-novice
On Tue, 22 Feb 2005, Bruno Wolff III wrote:

> The standard way to do this is to use the max function and select the
> row that matches this value.
>
> However the nonstandard DISTINCT ON construct is a better way to go if
> you don't need to be portable.
>
Thanks Bruno... I'd like to combine this all into one single query, if
that's possible.

/j-p.


pgsql-novice by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Query combination query. (fwd)
Next
From: Tom Lane
Date:
Subject: Re: Function with record type as argument