From: Josh Berkus <josh@agliodbs.com>
To: Charles Hauser <chauser@duke.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: help w/ constructing a SELECT
Date: Fri, 20 Sep 2002 09:38:38 -0700
Message-ID: <web-1655011@davinci.ethosmedia.com> (raw)
In-Reply-To: <1032528124.23426.2.camel@pandorina.biology.duke.edu>
Charles,
> > 3. All contigs where all clones have read = 'x'
SELECT * FROM contigs
WHERE NOT EXISTS ( SELECT contig_id
FROM clones WHERE clones.contig_id = contigs.contig_id
AND read <> 'x');
i.e. "Select all contigs not having any clone whose read is something
other than 'x' "
got it?
-Josh Berkus
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: josh@agliodbs.com, chauser@duke.edu
Subject: Re: help w/ constructing a SELECT
In-Reply-To: <web-1655011@davinci.ethosmedia.com>
* 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