Re: Multiple table join

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Multiple table join
Дата
Msg-id 20031006163804.GA27925@wolff.to
обсуждение исходный текст
Ответ на Multiple table join  ("Louise Cofield" <lcofield@box-works.com>)
Ответы Re: Multiple table join  ("Louise Cofield" <lcofield@box-works.com>)
Список 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 по дате отправления:

Предыдущее
От: "Louise Cofield"
Дата:
Сообщение: Multiple table join
Следующее
От: Wei Weng
Дата:
Сообщение: suggestion needed for implementation