Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9895A475FB8 for ; Tue, 8 Oct 2002 23:54:26 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id 06B0F475D12 for ; Tue, 8 Oct 2002 23:54:26 -0400 (EDT) Received: from [63.195.55.98] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.9) with HTTP id 1776493; Tue, 08 Oct 2002 20:53:12 -0700 From: "Josh Berkus" Subject: Re: IN, EXISTS or ANY? To: Keith Gray , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Tue, 08 Oct 2002 20:53:12 -0700 Message-ID: In-Reply-To: <3DA37DAA.3090501@heart.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/116 X-Sequence-Number: 9833 Keith, > >>But EXISTS is an entirely different animal which is often faster > >>... isn't that in the FAQ? > > > There is no reference to EXISTS in the SELECT documentation?? > > Is this explained somewhere else? Hmmm .... found this using the Index for the online docs: http://www.us.postgresql.org/users-lounge/docs/7.2/postgres/functions-subquery.html Have fun. -Josh