From: | "Louise Cofield" <lcofield(at)box-works(dot)com> |
---|---|
To: | "'Bruno Wolff III'" <bruno(at)wolff(dot)to> |
Cc: | <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Multiple table join |
Date: | 2003-10-06 16:35:37 |
Message-ID: | 003401c38c27$df7fbe50$7801a8c0@Louise |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
That was waaaaay too simple -- thank you!
-----Original Message-----
From: Bruno Wolff III [mailto:bruno(at)wolff(dot)to]
Sent: Monday, October 06, 2003 10:38 AM
To: Louise Cofield
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] Multiple table join
On Mon, Oct 06, 2003 at 10:26:59 -0600,
Louise Cofield <lcofield(at)box-works(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2003-10-06 16:38:04 | Re: Multiple table join |
Previous Message | Chris Faulkner | 2003-10-06 16:35:11 | create new field |