X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8B3D09FA4D8 for ; Mon, 5 Jun 2006 23:07:25 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 26013-09 for ; Mon, 5 Jun 2006 23:07:17 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web33304.mail.mud.yahoo.com (web33304.mail.mud.yahoo.com [68.142.206.119]) by postgresql.org (Postfix) with SMTP id 2BABA9F9316 for ; Mon, 5 Jun 2006 23:07:16 -0300 (ADT) Received: (qmail 61760 invoked by uid 60001); 6 Jun 2006 02:07:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6VShPtlRs3ULSD24nJWSGBMrR1F4AIXIIJV4SUXL8FoxtqR4mnUSRjMeVj8ztf8nn3sIN8lP9zxzHFVMFRcdTce4bQeXhMVhG9p/vOnpMv6Bz1C4Y4YWA8FrD9KCK7EGf9g6Bd+mSO/ZuxliBZehBa9PjhPaC5Ee/yQYLmjhasc= ; Message-ID: <20060606020714.61758.qmail@web33304.mail.mud.yahoo.com> Received: from [12.9.179.126] by web33304.mail.mud.yahoo.com via HTTP; Mon, 05 Jun 2006 19:07:14 PDT Date: Mon, 5 Jun 2006 19:07:14 -0700 (PDT) From: Subject: Re: How To Exclude True Values To: operationsengineer1@yahoo.com, "pgsql-sql@postgresql.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/55 X-Sequence-Number: 25291 > hi all, > > how can i exclude true values for this query? > > http://www.rafb.net/paste/results/obtkGz26.html > > if i uncomment out > > -- AND t_inspect_result.inspect_result_pass = 'f' > > it looks for prior falses within an inspect_id and > returns it. i want the original result set minus > the > trues, if possible. > > tia... this SQL appears to do the trick... http://www.rafb.net/paste/results/zZKIjH80.html __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com