Re: Window function trouble

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: Window function trouble
Дата
Msg-id pu7hsuafcq.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на Window function trouble  (Harald Fuchs <hari.fuchs@gmail.com>)
Ответы Re: Window function trouble  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
In article <pud42mahnr.fsf@srv.protecting.net>,
Harald Fuchs <hari.fuchs@gmail.com> writes:

> The other users for one address are gone.  Does anyone know why?

Update: they are not gone, but they've moved to the end of the result
set. Apparently the CASE expression is named "adr" unless named
otherwise, and the result set is sorted by this expression instead of
the column named "adr".  Does anyone know what the SQL standard says
about that?



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

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Window function trouble
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Window function trouble