Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0GLlnV26503 for ; Wed, 16 Jan 2002 16:47:49 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.2) with HTTP id 621545; Wed, 16 Jan 2002 13:47:49 -0800 From: "Josh Berkus" Subject: Re: Complex view question To: "Glenn MacGregor" , "Josh Berkus" , X-Mailer: CommuniGate Pro Web Mailer v.3.5.2 Date: Wed, 16 Jan 2002 13:47:49 -0800 Message-ID: In-Reply-To: <034a01c19ed6$135c2380$4d00a8c0@catamount> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200201/196 X-Sequence-Number: 6282 Glenn, > So is there a way to do query 1 with a view? > > The query is not optimized, I want to get it working first. Data structure, please. I can't tell what we're working with here. Also, a statement of what you want the result of the view to be would be helpful. Finally, it may not be possible to do exactly what you want with a view, in which case you'll need to use a straight query. -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