WHERE

From: Hrishikesh Deshmukh <hdeshmuk(at)gmail(dot)com>
To: Postgresql-General <pgsql-general(at)postgresql(dot)org>
Subject: WHERE
Date: 2005-05-09 19:48:44
Message-ID: 829d7fb605050912481cf98b99@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

How can one use a table created for saving the results for a query be
used in WHERE for subsequent query!!!

Step 1) create table temp as select gene from dataTable1 intersect
select gene from dataTable2;

Now temp has been created, temp has only one column which has list of
genes and nothing else but i want to retrieve annotation for the genes
in temp table.

Is it possible to: select geneAnnotation from dataTable1 where genes =
"gene in temp table";!!!!!

Or am i here in some serious soup!!! :((

Thanks,
Hrishi

Responses

  • Re: WHERE at 2005-05-11 03:32:12 from Bruno Wolff III

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2005-05-09 19:58:06 Re: WHERE
Previous Message Wolfgang Keller 2005-05-09 19:47:46 Re: Adventures in Quest for GUI RAD