Re: How To Exclude True Values

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: operationsengineer1(at)yahoo(dot)com, "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: How To Exclude True Values
Date: 2006-06-06 17:36:28
Message-ID: 20060606173628.17134.qmail@web31815.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> inspect_id, inspect_result_id, inspect_result_pass,
> inspect_result_timestamp
> 3, 5, f, 2006-06-05 05:00:00
> 3, 6, t, 2006-06-05 06:00:00
> 4, 7, f, 2006-06-05 07:00:00
> *4, 8, f, 2006-06-05 08:00:00*
> the query linked in this post will return 3 lines...
>
> 1, 2, f
> 3, 5, f
> *4, 8, f* -- the only one i really want

From your sample it seems to me that you are really only looking for the most recient occuring
record that have produced a false test regardless of which Inspect_id or inspect_result_id it came
from. Is this correct?

Regards,

Richard Broersma Jr.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Burak Seydioglu 2006-06-06 18:10:46 Join issue
Previous Message operationsengineer1 2006-06-06 17:07:26 Re: How To Exclude True Values