Re: Help formulating multi-table SELECT statement - Mailing list pgsql-novice

From Phil Mitchell
Subject Re: Help formulating multi-table SELECT statement
Date
Msg-id 4.3.2.7.2.20020226153712.00b2d010@pop.rcn.com
Whole thread Raw
In response to Help formulating multi-table SELECT statement  (Phil Mitchell <phil.mitchell@pobox.com>)
Responses Re: Help formulating multi-table SELECT statement  ("Travis Hoyt" <thoyt@npc.net>)
List pgsql-novice
At 02:53 PM 2/26/02, you wrote:
>Hey Phil,
>
>Not sure if this will work..don't have any tables like that to test this
>on but try this:
>
>SELECT sig FROM sigs WHERE sigID=(SELECT sigID FROM keys_sigs WHERE
>keyID=(SELECT keyID FROM keys WHERE key = X));

Travis, I had tried nesting the selects like that, but postgres apparently
complains when subselects return multiple values.


pgsql-novice by date:

Previous
From: "Art Nicewick"
Date:
Subject: Re: connectDBStart() -- connect failed
Next
From: "Travis Hoyt"
Date:
Subject: Re: Help formulating multi-table SELECT statement