X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5961F3A3F95 for ; Tue, 23 Nov 2004 17:04:24 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67223-05 for ; Tue, 23 Nov 2004 17:04:14 +0000 (GMT) Received: from mail.mailporter.net (mail.mailporter.net [66.193.36.114]) by svr1.postgresql.org (Postfix) with ESMTP id 3F15B3A3F1E for ; Tue, 23 Nov 2004 17:04:13 +0000 (GMT) Received: from [216.64.180.201] [216.64.180.201] by mail.mailporter.net with ESMTP (SMTPD32-8.13) id AD88309C0052; Tue, 23 Nov 2004 09:04:08 -0800 Message-ID: <41A36D7D.7050808@mailporter.net> Date: Tue, 23 Nov 2004 09:03:57 -0800 From: "Roderick A. Anderson" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: PgSQL ADMIN Subject: joins INNER, OUTER, LEFT, RIGHT, FULL, ... Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Declude-Sender: raa@mailporter.net [216.64.180.201] X-Note: This E-mail was scanned by Declude JunkMail (www.declude.com) for spam. X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/172 X-Sequence-Number: 15556 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]