Re: using window-functions to get freshest value - how? - Mailing list pgsql-general

From A. Kretschmer
Subject Re: using window-functions to get freshest value - how?
Date
Msg-id 20091120114900.GG20234@a-kretschmer.de
Whole thread Raw
In response to Re: using window-functions to get freshest value - how?  (hubert depesz lubaczewski <depesz@depesz.com>)
List pgsql-general
In response to hubert depesz lubaczewski :
> On Fri, Nov 20, 2009 at 11:07:37AM +0100, Massa, Harald Armin wrote:
> > Is it possible? How would the SQL utilizing WINDOW-functions look like?
>
> there is no point in using window functions in here - simply use
> "DISTINCT ON".

Right, but he want to extend his knowledge....

Harald, keep in mind, DISTINCT ON isn't portable.


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG: 0x31720C99, 1006 CCB4 A326 1D42 6431  2EB0 389D 1DC2 3172 0C99

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: using window-functions to get freshest value - how?
Next
From: "Massa, Harald Armin"
Date:
Subject: Re: using window-functions to get freshest value - how?