Re: Multiple natural joins

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Multiple natural joins
Дата
Msg-id 49C3548D.3080002@gmx.net
обсуждение исходный текст
Ответ на Re: Multiple natural joins  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
Sam Mason wrote:
> On Thu, Mar 19, 2009 at 04:22:56PM +0200, Peter Eisentraut wrote:
>> Joins nest from left to write, so
>>
>> tbl_c NATURAL JOIN tbl_a NATURAL JOIN tbl_b
>>
>> means
>>
>> (tbl_c NATURAL JOIN tbl_a) NATURAL JOIN tbl_b
>>
>> If you want a different order, you can set the parentheses differently,
>> with possibly different results.
>
> When would you get different results?  As far as I can tell, for INNER
> joins, you'd always get the same thing back for any ordering.  With
> OUTER joins it obviously matters what's going on, but that's expected.

Right.


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

Предыдущее
От: Tomasz Olszak
Дата:
Сообщение: Is there a method to Execute update in Pl/Pgsql function using rowtype variable
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Fulltext - multiple single column indexes