X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id EA5C99DC87E for ; Thu, 26 Jan 2006 12:33:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47905-09 for ; Thu, 26 Jan 2006 12:33:07 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by postgresql.org (Postfix) with ESMTP id 31C939DC835 for ; Thu, 26 Jan 2006 12:33:06 -0400 (AST) Received: from [192.168.1.100] (or-67-76-146-141.sta.sprint-hsd.net [67.76.146.141]) (authenticated bits=0) by hosting.commandprompt.com (8.13.4/8.13.4) with ESMTP id k0QGN9ww030026; Thu, 26 Jan 2006 08:23:12 -0800 Message-ID: <43D8FA03.304@commandprompt.com> Date: Thu, 26 Jan 2006 08:34:11 -0800 From: "Joshua D. Drake" User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: J@Planeti.Biz CC: pgsql-performance@postgresql.org Subject: Re: Query optimization with X Y JOIN References: <786c2f6d0601260206k2201a548p48af7c7fc085d3b2@mail.gmail.com> <005d01c6228f$3772dca0$0d310d05@fatchubby> <43D8F4FD.4040703@modgraph-usa.com> <008001c62295$156b8fc0$0d310d05@fatchubby> In-Reply-To: <008001c62295$156b8fc0$0d310d05@fatchubby> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (hosting.commandprompt.com [192.168.1.101]); Thu, 26 Jan 2006 08:23:12 -0800 (PST) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.663 required=5 tests=[AWL=-0.506, BIZ_TLD=1.169] X-Spam-Score: 0.663 X-Spam-Level: X-Archive-Number: 200601/442 X-Sequence-Number: 16920 J@Planeti.Biz wrote: > If I want my database to go faster, due to X then I would think that > the issue is about performance. I wasn't aware of a paticular > constraint on X. > > I have more that a rudementary understanding of what's going on here, > I was just hoping that someone could shed some light on the basic > principal of this JOIN command and its syntax. Most people I ask, > don't give me straight answers and what I have already read on the web > is not very helpful thus far. What you are looking for is here: http://sqlzoo.net/ It is an excellent website that discusses in depth but at a tutorial style level how and what SQL is and how to use it. Including JOINS. FYI, a JOIN is basically a FROM with an integrated WHERE clause. That is a very simplified description and isn't 100% accurate but it is close. I strongly suggest the website I mentioned above as it will resolve your question. Joshua D. Drake -- The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564 PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: PLphp, PLperl - http://www.commandprompt.com/