Re: Can you help with this JOIN?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Can you help with this JOIN?
Дата
Msg-id 20020530103115.C44635-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: Can you help with this JOIN?  (Wei Weng <wweng@kencast.com>)
Список pgsql-sql
On 30 May 2002, Wei Weng wrote:

> But how do I write the LEFT OUTER JOIN if I don't do explicit JOINs on
> the other tables? Can I just do
>
> SELECT x FROM a, b, c, LEFT OUTER JOIN d ON (d.id = a.id)?

I think you'd need to write
SELECT x FROM b,c,a LEFT OUTER JOIN d ON (d.id = a.id)

That should force the outer join first, but give flexibility for the rest
of the joins.




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

Предыдущее
От: Wei Weng
Дата:
Сообщение: Re: Can you help with this JOIN?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Can you help with this JOIN?