Re: Window function trouble - Mailing list pgsql-sql

From Harald Fuchs
Subject Re: Window function trouble
Date
Msg-id pu7hsuafcq.fsf@srv.protecting.net
Whole thread Raw
In response to Window function trouble  (Harald Fuchs <hari.fuchs@gmail.com>)
Responses Re: Window function trouble  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Harald Fuchs
Date:
Subject: Window function trouble
Next
From: Tom Lane
Date:
Subject: Re: Window function trouble