Re: [HACKERS] Outer joins

From: Kaare Rasmussen <kar(at)webline(dot)dk>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Outer joins
Date: 1999-06-07 21:10:53
Message-ID: 199906072110.XAA03821@bohr.webline.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kaare Rasmussen 1999-06-07 21:14:59 Re: [HACKERS] PostgreSQL History(Parody)
Previous Message Kaare Rasmussen 1999-06-07 21:03:03 Re: [HACKERS] Priorities for 6.6