X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4CBB89FA5BE for ; Thu, 15 Jun 2006 17:59:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 48747-08 for ; Thu, 15 Jun 2006 17:59:23 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web33301.mail.mud.yahoo.com (web33301.mail.mud.yahoo.com [68.142.206.116]) by postgresql.org (Postfix) with SMTP id B13BB9FA13E for ; Thu, 15 Jun 2006 17:59:23 -0300 (ADT) Received: (qmail 4836 invoked by uid 60001); 15 Jun 2006 20:59:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=B0XjIiL7s86pg/1c42B57cDjlW3lX009cp9RJ65o1DweqzlkDz6v3uLUeIAiEwFJTB6vNf7uThl7LqjRTY5usgcR/myBV3t7z8W7AvDQLUvDOq9dKwzpMlCQp1U9G9uFRACdEQJGDckb0kzqB0wuU9xGOZKtdEyd6az4ZwgjSqs= ; Message-ID: <20060615205922.4834.qmail@web33301.mail.mud.yahoo.com> Received: from [12.9.179.126] by web33301.mail.mud.yahoo.com via HTTP; Thu, 15 Jun 2006 13:59:22 PDT Date: Thu, 15 Jun 2006 13:59:22 -0700 (PDT) From: Subject: SQL Technique Question To: "pgsql-sql@postgresql.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/184 X-Sequence-Number: 25420 i frequently join certain tables together in various tables. view the following link for an example: http://www.rafb.net/paste/results/mBvzn950.html is it a good practice to leave this included in the queries, as is, or should i factor it out somehow? if i should factor it, how do i do so? tia... __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com