Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fA1G7fP52572 for ; Thu, 1 Nov 2001 11:07:41 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.7) with HTTP id 496648; Thu, 01 Nov 2001 08:07:36 -0800 From: "Josh Berkus" Subject: Re: transposing data for a view To: jeremy@wundt.psychiatry.uiowa.edu (H Jeremy Bockholt), pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.7 Date: Thu, 01 Nov 2001 08:07:36 -0800 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_===496648====davinci.ethosmedia.com===_" X-Archive-Number: 200111/10 X-Sequence-Number: 5396 This is a multi-part MIME message --_===496648====davinci.ethosmedia.com===_ Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Jeremy, > I see how your idea could work--the only thing I would change would > be region needs to be scanid on the first line; however, > I'm using PostgreSQL v7.03, so I can not do subqueries within FROM > clause. > > Other than creating a temporary table, is there a way to > restructure this solution to get around this limitation? No, you need to upgrade. What's the obstacle to using 7.1.3, anyway? -Josh ______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 --_===496648====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===496648====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===496648====davinci.ethosmedia.com===_ Content-Type: text/plain Content-Disposition: attachment; filename="" Content-Transfer-Encoding: base64 DQo= --_===496648====davinci.ethosmedia.com===_--