Re: Need help with INNER Join

Поиск
Список
Период
Сортировка
От Emil Obermayr
Тема Re: Need help with INNER Join
Дата
Msg-id 200805041652.13785.nobs@nobswolf.info
обсуждение исходный текст
Ответ на Need help with INNER Join  ("Mag Gam" <magawake@gmail.com>)
Список pgsql-novice
Am Sonntag, 4. Mai 2008 schrieb Mag Gam:

> To my understanding, it is preferred to use the INNER JOIN keyword. I am
> able to INNER JOIN 2 tables, but I am not sure of the syntax for 3 or more
> tables. Can someone please show me an example for that ?

Just concatenate the joins, modern servers do not need hints by brackets and
such:

select * from a join b on a.id=b.aid join c on b.id=c.bid ;

In that respect, also take a look on "join using" and "natural join".

В списке pgsql-novice по дате отправления:

Предыдущее
От: Frank Bax
Дата:
Сообщение: Re: Need help with INNER Join
Следующее
От: "Mag Gam"
Дата:
Сообщение: Re: Need help with INNER Join