From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: Darryl M. Wolski <drwolski@sympatico.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: nested inner join help
Date: Mon, 14 Jan 2002 17:01:40 -0800
Message-ID: <web-601476@davinci.ethosmedia.com> (raw)
In-Reply-To: <20144.1011050737@sss.pgh.pa.us>
Tom,
> Huh? Parenthesizing JOINs is perfectly valid, and I think it's good
> style too in complex cases. See the nearby "SQL Joins" thread for
> an example of a query that's quite unreadable without 'em.
Aha. I see. Of course, the OUTER JOINs here sort of require parens.
So, Darryl, you do want to use parens some of time. Just to make it harder for
you to decide. However, I would assert that in your example query they are
not necessary and actually make the syntax more difficult.
-Josh Berkus
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us, drwolski@sympatico.ca
Subject: Re: nested inner join help
In-Reply-To: <web-601476@davinci.ethosmedia.com>
* 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