Re: Multiple table join - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: Multiple table join
Date
Msg-id 20031006163804.GA27925@wolff.to
Whole thread Raw
In response to Multiple table join  ("Louise Cofield" <lcofield@box-works.com>)
Responses Re: Multiple table join  ("Louise Cofield" <lcofield@box-works.com>)
List pgsql-sql
On Mon, Oct 06, 2003 at 10:26:59 -0600, Louise Cofield <lcofield@box-works.com> wrote:
> 
> I am attempting to select fields Location and Item_Num from table A
> where A.Location = B.Location, 
> 
> AND 
> 
> select Item_Description from table C, where A.Item_Num = C.Item_Num.

Just list all three tables in the from item list and include both
conditions in the where clause (connected by and).

If there is more to your problem than this, you should supply more details.


pgsql-sql by date:

Previous
From: "Louise Cofield"
Date:
Subject: Multiple table join
Next
From: Wei Weng
Date:
Subject: suggestion needed for implementation