From: Tom Lane <tgl@sss.pgh.pa.us>
To: david morgan <davidmorgan@computerweekly.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: error joining 2 views containing GROUP BYs
Date: Mon, 12 Mar 2001 23:20:55 -0500
Message-ID: <17919.984457255@sss.pgh.pa.us> (raw)
In-Reply-To: <98aine$ql6$1@news.tht.net>
References: <98aine$ql6$1@news.tht.net>
"david morgan" <david_morgan@s4c.co.uk> writes:
> I am having a few problems using a select query which joins two views
> containing aggregate functions (see query 1 below).
I don't think there's any chance of making that work in pre-7.1
Postgres. Sorry :-(.
As a workaround, consider selecting the grouped data into temp tables
and then joining the temp tables.
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, davidmorgan@computerweekly.com
Subject: Re: error joining 2 views containing GROUP BYs
In-Reply-To: <17919.984457255@sss.pgh.pa.us>
References: <98aine$ql6$1@news.tht.net> <17919.984457255@sss.pgh.pa.us>
* 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