Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5SEsAa64974 for ; Thu, 28 Jun 2001 10:54:10 -0400 (EDT) (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.4/8.11.4) with ESMTP id f5SEs3F24191; Thu, 28 Jun 2001 10:54:03 -0400 (EDT) To: "kakerjak" cc: pgsql-sql@postgresql.org Subject: Re: Subquery error. Help please!! In-reply-to: <9hdi36$scd$1@news.tht.net> References: <9hdi36$scd$1@news.tht.net> Comments: In-reply-to "kakerjak" message dated "Wed, 27 Jun 2001 17:09:14 -0400" Date: Thu, 28 Jun 2001 10:54:03 -0400 Message-ID: <24188.993740043@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200106/448 X-Sequence-Number: 3749 "kakerjak" writes: > If the subquery is placed before the JOIN, like it is above, then the error > i get says 'parse error at or near "select"' > If i flip the subquery around with the laboratory table then i get 'parse > error at or near "("' Are you using 7.1? regards, tom lane