pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Charles Hauser <chauser@duke.edu>
To: PSQL_list <pgsql-sql@postgresql.org>
Subject: Re: help w/ constructing a SELECT
Date: Thu, 19 Sep 2002 16:40:50 -0700
Message-ID: <200209191640.50353.josh@agliodbs.com> (raw)
In-Reply-To: <1032446475.22067.29.camel@pandorina.biology.duke.edu>
References: <1032446475.22067.29.camel@pandorina.biology.duke.edu>


Charles,

> Having a problem with a query.
> I would like to construct a query which will return a list of all
> contigs which are comprised of clones whose 'read' = 'x' (read can be
> either 'x' or 'y').

It appears that you haven't formulated clearly what you want to get.  I can 
see 3 possibilities:

1. All contigs with one or more clones whose read = 'x' and those clones.
2. All contigs with one or more clones whose read = 'x' and all of those 
contig's clones
3. All contigs where all clones have read = 'x'

Which do you want?  

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco




view thread (3+ messages)  latest in thread

Message-ID: <200209191640.50353.josh@agliodbs.com>
Permalink:  ../200209191640.50353.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200209191640.50353.josh@agliodbs.com

 · 

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: josh@agliodbs.com, chauser@duke.edu
  Subject: Re: help w/ constructing a SELECT
  In-Reply-To: <200209191640.50353.josh@agliodbs.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