Re: [HACKERS] Outer joins

Поиск
Список
Период
Сортировка
От Kaare Rasmussen
Тема Re: [HACKERS] Outer joins
Дата
Msg-id 199906072110.XAA03821@bohr.webline.dk
обсуждение исходный текст
Ответ на Re: [HACKERS] Outer joins  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
> "OUTER" conveys no additional information, and can be omitted. My copy

Sorry. You're right. Just as long as you accept it.

> I'm not sure what you mean about missing something about "the column
> name for t1". My hypothetical query is referring to column "x",
> present in all four tables. Was there some other place a column for t1
> should be mentioned?

What if the column is named order_id in one table and ord_id in another?

>   select * from t1 left join t2 on t1.x = t2.x
>                    left join t3 on x = t3.x;

OK, this will do it. You can have a t1.x = t2.y.




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

Предыдущее
От: Kaare Rasmussen
Дата:
Сообщение: Re: [HACKERS] Priorities for 6.6
Следующее
От: Kaare Rasmussen
Дата:
Сообщение: Re: [HACKERS] Priorities for 6.6