Re: Multiple table join - Mailing list pgsql-sql

From Dan Langille
Subject Re: Multiple table join
Date
Msg-id 3F81628F.2672.587C7E11@localhost
Whole thread Raw
In response to Multiple table join  ("Louise Cofield" <lcofield@box-works.com>)
List pgsql-sql
On 6 Oct 2003 at 10:26, Louise Cofield 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.

Try:

select Location, Item_Num
from table A, B, C
where A.Location = B.Location
and A.Item_Num = C.Item_Num
-- 
Dan Langille : http://www.langille.org/



pgsql-sql by date:

Previous
From: "Louise Cofield"
Date:
Subject: Re: Multiple table join
Next
From: Josh Berkus
Date:
Subject: Re: create new field