Re: [HACKERS] Outer joins - Mailing list pgsql-hackers

From Kaare Rasmussen
Subject Re: [HACKERS] Outer joins
Date
Msg-id 199906072110.XAA03821@bohr.webline.dk
Whole thread Raw
In response to Re: [HACKERS] Outer joins  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List 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 by date:

Previous
From: Kaare Rasmussen
Date:
Subject: Re: [HACKERS] Priorities for 6.6
Next
From: Kaare Rasmussen
Date:
Subject: Re: [HACKERS] Priorities for 6.6