Skip site navigation (1) Skip section navigation (2)

joins INNER, OUTER, LEFT, RIGHT, FULL, ...

From: "Roderick A(dot) Anderson" <raa(at)mailporter(dot)net>
To: PgSQL ADMIN <pgsql-admin(at)postgresql(dot)org>
Subject: joins INNER, OUTER, LEFT, RIGHT, FULL, ...
Date: 2004-11-23 17:03:57
Message-ID: 41A36D7D.7050808@mailporter.net (view raw or flat)
Thread:
Lists: pgsql-admin
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]


Responses

pgsql-admin by date

Next:From: Chris HooverDate: 2004-11-23 21:06:52
Subject: problems with authentication
Previous:From: Pete.....Date: 2004-11-23 17:03:35
Subject: Transfer data from webpage form to database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group