pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Michael Avila <Michael.Avila.1@sbcglobal.net>
Cc: SQL PostgreSQL MailList <pgsql-sql@postgresql.org>
Subject: Re: Need SQL Help Finding Current Status of members
Date: Sun, 18 Dec 2005 19:19:04 -0700
Message-ID: <20051219021903.GA89543@winnie.fuhr.org> (raw)
In-Reply-To: <NBBBLNPHAMCFENDFHIDCOEOIEGAA.Michael.Avila.1@sbcglobal.net>
References: <20051218002610.GA4832@winnie.fuhr.org>
	<NBBBLNPHAMCFENDFHIDCOEOIEGAA.Michael.Avila.1@sbcglobal.net>

On Sat, Dec 17, 2005 at 07:34:22PM -0500, Michael Avila wrote:
> The table is not empty. I did some playing around with the SQL Statement but
> got no where. So I added a record status column that will be non-NULL when
> the status becomes history because a new status is added. Yeah, I cheated to
> make it easy!! LOL But it now works and that is what counts!

Even if you're satisfied with whatever you ended up doing, it might
still be educational to find out why the query didn't work.  If you
post a test case we'll take a look; we might even be able to suggest
a better solution than the "cheat" you used.

-- 
Michael Fuhr



view thread (10+ messages)

Message-ID: <20051219021903.GA89543@winnie.fuhr.org>
Permalink:  ../20051219021903.GA89543@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20051219021903.GA89543@winnie.fuhr.org

 · 

reply

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: mike@fuhr.org, Michael.Avila.1@sbcglobal.net
  Subject: Re: Need SQL Help Finding Current Status of members
  In-Reply-To: <20051219021903.GA89543@winnie.fuhr.org>

* 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