From: | "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com> |
---|---|
To: | "Chris Hoover" <revoohc(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Join Question |
Date: | 2006-08-02 21:17:13 |
Message-ID: | e431ff4c0608021417m5f7947a9q381b1cb6314bce78@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 8/2/06, Chris Hoover <revoohc(at)gmail(dot)com> wrote:
> Question,
>
> What is the difference between left join, and left outer join?
>
> I know the difference between inner and outer joins, but I was thinking that
> left join == inner join. But from what I am now seeing, it appears that PG
> is equating left join to left outer join. Is this correct?
Types of JOIN:
* [ INNER ] JOIN
* LEFT [ OUTER ] JOIN
* RIGHT [ OUTER ] JOIN
* FULL [ OUTER ] JOIN
* CROSS JOIN
As usual, "[ .. ]" means that that word can be omitted.
"left join == inner join" is absolutely incorrect, I'm afraid you need
to refresh you memory and read the manual
(http://www.postgresql.org/docs/8.1/interactive/sql-select.html, find
"join_type").
This part of Postgres conforms to standard, all major DBMSs follow
this semantics too.
--
Best regards,
Nikolay
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas F. O'Connell | 2006-08-02 21:20:15 | Re: Tape backup, 2 versions, same database name, which is pg_dump backing up |
Previous Message | Merlin Moncure | 2006-08-02 21:11:15 | Re: logic/db question |