From: Josh Berkus <josh@agliodbs.com>
To: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: dsiegal@brave.cs.uml.edu
Subject: Re: Calculating Percentages
Date: Thu, 15 May 2003 08:42:33 -0700
Message-ID: <200305150842.33629.josh@agliodbs.com> (raw)
In-Reply-To: <3EC35832.8BA90263@rodos.fzk.de>
References: <3EC35832.8BA90263@rodos.fzk.de>
Chris,
> You'll have to GROUP BY nationality, total_members
Oops. Problem with posting untested SQL ...
> > > would this repeatedly execute the inner query over and over?
> >
> > No, it'd do it just once, because the sub-select has no dependency on
> > the outer select. (If the sub-select used any variables from the
That's great, Tom. Yet another place where we've surpassed MS SQL Server in
query implementation.
--
Josh Berkus
Aglio Database Solutions
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, ch@rodos.fzk.de, dsiegal@brave.cs.uml.edu
Subject: Re: Calculating Percentages
In-Reply-To: <200305150842.33629.josh@agliodbs.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