Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f048VX772826 for ; Thu, 4 Jan 2001 03:31:33 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f048W0B20888; Thu, 4 Jan 2001 03:32:00 -0500 (EST) To: Tod McQuillin cc: Jens Hartwig , Nikolaj Lundsgaard , pgsql-sql@postgresql.org Subject: Re: Sv: how to build this query ??? Please help !!! In-reply-to: References: Comments: In-reply-to Tod McQuillin message dated "Thu, 04 Jan 2001 01:53:05 -0600" Date: Thu, 04 Jan 2001 03:31:59 -0500 Message-ID: <20885.978597119@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200101/46 X-Sequence-Number: 707 Tod McQuillin writes: > I don't think the PostgreSQL User's Manual mentions sub-selects. I think you are right :-(. Geez, that's a pretty big hole in the docs coverage. There is some stuff in the Tutorial --- see http://www.postgresql.org/devel-corner/docs/postgres/sql-language.htm#SELECT and page down to "Subqueries". Note that the subquery-in-FROM feature is new in 7.1. regards, tom lane