Re: Multiple table join

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Louise Cofield <lcofield(at)box-works(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Multiple table join
Date: 2003-10-06 16:38:04
Message-ID: 20031006163804.GA27925@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Dan Langille 2003-10-06 16:39:43 Re: Multiple table join
Previous Message Louise Cofield 2003-10-06 16:35:37 Re: Multiple table join