Re: sum() over (partition by order) question

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: sum() over (partition by order) question
Дата
Msg-id 162867790812311413h73762d3fvf8ba00dcc71812b4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: sum() over (partition by order) question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2008/12/31 Tom Lane <tgl@sss.pgh.pa.us>:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
>> so I have to modify query to get expected values
>> postgres=# select a, b, last_value(a) over (partition by b),
>> last_value(a) over (partition by b order by a  RANGE BETWEEN UNBOUNDED
>> PRECEDING AND UNBOUNDED FOLLOWING) from foo;
>
>> it should be noticed in doc?
>
> It is --- see the comments at the bottom of
>
> http://developer.postgresql.org/pgdocs/postgres/functions-window.html
>
>                        regards, tom lane
>

oh, yes, there it is, thank you
and Happy New Year

regards
Pavel Stehule


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: sum() over (partition by order) question
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: sum() over (partition by order) question