Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id DC63E475F7C for ; Thu, 30 May 2002 13:16:18 -0400 (EDT) Received: from mta4.snet.net (mta4.snet.net [204.60.203.76]) by postgresql.org (Postfix) with ESMTP id 3C02E4761A1 for ; Thu, 30 May 2002 13:07:23 -0400 (EDT) Received: from pop.snet.net (pop.snet.net [204.60.203.72]) by mta4.snet.net (8.12.3/8.12.3/SNET-mx-1.2/D-1.1.1.1/O-1.1.1.1) with ESMTP id g4UH7HHH015400 for ; Thu, 30 May 2002 13:07:17 -0400 (EDT) X-Originating-IP: [64.252.95.167] X-SBCIS-MTA: [pop.snet.net] Received: from [192.168.1.83] (167.95.252.64.snet.net [64.252.95.167]) by pop.snet.net (8.12.3/8.12.3/SNET-pop-1.2/D-1.1.1.1/O-1.1.1.1) with ESMTP id g4UH70UQ024373 for ; Thu, 30 May 2002 13:07:00 -0400 (EDT) Subject: question on JOIN and WHERE clause From: Wei Weng To: pgsql-sql@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 Date: 30 May 2002 13:07:21 -0400 Message-Id: <1022778442.32670.1.camel@Monet> Mime-Version: 1.0 X-Archive-Number: 200205/313 X-Sequence-Number: 7948 Does the SQL optimizer process the JOIN first then add WHERE constraintson it or it processes the WHERE clause and JOIN at the same time? Thanks! -- Wei Weng Network Software Engineer KenCast Inc.