Re: using window-functions to get freshest value - how?

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: using window-functions to get freshest value - how?
Дата
Msg-id 20091120111535.GB30145@depesz.com
обсуждение исходный текст
Ответ на using window-functions to get freshest value - how?  ("Massa, Harald Armin" <chef@ghum.de>)
Ответы Re: using window-functions to get freshest value - how?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: using window-functions to get freshest value - how?  ("Massa, Harald Armin" <chef@ghum.de>)
Список pgsql-general
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".

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

В списке pgsql-general по дате отправления:

Предыдущее
От: silly8888
Дата:
Сообщение: Re: using window-functions to get freshest value - how?
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: using window-functions to get freshest value - how?