From: Roderick A. Anderson <raa@mailporter.net>
To: PgSQL ADMIN <pgsql-admin@postgresql.org>
Subject: joins INNER, OUTER, LEFT, RIGHT, FULL, ...
Date: Tue, 23 Nov 2004 09:03:57 -0800
Message-ID: <41A36D7D.7050808@mailporter.net> (raw)
Be gentle as I come from an Oracle background a long time ago.
I am trying to join several tables with a couple of tables having a one
to many relationship. I got one query working pretty well but the issue
comes about when I add one more table with a one-to-one relationship. I
get a semi/pseudo Cartesian join.
I'm not asking for the exact solution but a pointer to a _good_
reference on complex joins. My searching on the PostgreSQL site and
Google only turn up examples of simple joins. I did forget to look at
the two PostgreSQL books I have at home -- Bruce's and Practical
PostgreSQL -- last night so if there are some in them a light tap with
the clue-stick will suffice.
Thanks,
Rod
--
---
[This E-mail scanned for viruses by Declude Virus]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: raa@mailporter.net
Subject: Re: joins INNER, OUTER, LEFT, RIGHT, FULL, ...
In-Reply-To: <41A36D7D.7050808@mailporter.net>
References: <41A36D7D.7050808@mailporter.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox