From: Rudi Starcevic <rudi@oasis.net.au>
To: pgsql-sql@postgresql.org
Subject: Re: CASE
Date: Wed, 09 Apr 2003 14:59:34 +1000
Message-ID: <3E93A8B6.1000407@oasis.net.au> (raw)
References: <3E928853.7090801@oasis.net.au>
<20030408094039.GS1712@pirmabanka.lv>
<877ka519e0.fsf@stark.dyndns.tv>
<26705.1049812237@sss.pgh.pa.us>
<3E93579A.3030006@oasis.net.au>
<4379.1049863648@sss.pgh.pa.us>
Tom,
I see ..
Thanks.
I'll need to rewrite my query.
I'm not sure I understand right now so it will be a good challenge for me ..
Any tips appreciated :-)
Cheers
Rudi.
Tom Lane wrote:
>Rudi Starcevic <rudi@oasis.net.au> writes:
>
>
>>However there is one event which is in the past '2003-04-01' which is
>>still coming up as 'events' instead of 'noevents'.
>>
>>
>
>But you're grouping over members and venues, and taking the max across
>event dates in each group. A past event for a venue won't affect
>anything, if there are later events for that venue.
>
> regards, tom lane
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: rudi@oasis.net.au
Subject: Re: CASE
In-Reply-To: <3E93A8B6.1000407@oasis.net.au>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox