From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rudi Starcevic <rudi@oasis.net.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: CASE
Date: Wed, 09 Apr 2003 00:47:28 -0400
Message-ID: <4379.1049863648@sss.pgh.pa.us> (raw)
In-Reply-To: <3E93579A.3030006@oasis.net.au>
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>
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: tgl@sss.pgh.pa.us, rudi@oasis.net.au
Subject: Re: CASE
In-Reply-To: <4379.1049863648@sss.pgh.pa.us>
* 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