FULL JOIN with 3 or more tables

Поиск
Список
Период
Сортировка
От Michael Adler
Тема FULL JOIN with 3 or more tables
Дата
Msg-id Pine.NEB.4.44.0204031533070.13855-100000@reva.sixgirls.org
обсуждение исходный текст
Ответ на Re: bytea or large object  (Timothy_maguire@hartehanks.com)
Ответы Re: FULL JOIN with 3 or more tables  (Masaru Sugawara <rk73@sea.plala.or.jp>)
Список pgsql-sql
I can do full joins just fine on two tables at a time:

FROM t1 FULL JOIN t2 ON (t1.id = t2.id)

Now, how would I full joint in a third table?

FROM t1 FULL JOIN t2 ON (t1.id = t2.id) FULL JOIN t3 ON t1.id = t3.id

That previous line would not join together two rows from t2 and t3.


Thanks,

Mike




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

Предыдущее
От: Bernd von den Brincken
Дата:
Сообщение: Named column in a Function fails at ORDER BY (PgSQL 7.1)
Следующее
От: Ewald Geschwinde
Дата:
Сообщение: Re: date manipulation