X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BB0F7D81B1 for ; Thu, 13 Oct 2005 00:43:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46300-03 for ; Thu, 13 Oct 2005 03:43:19 +0000 (GMT) Received: from stark.xeocode.com (stark.xeocode.com [216.58.44.227]) by svr1.postgresql.org (Postfix) with ESMTP id BC37DD7E8D for ; Thu, 13 Oct 2005 00:43:19 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=stark.xeocode.com) by stark.xeocode.com with smtp (Exim 3.36 #1 (Debian)) id 1EPtzu-0003A3-00; Wed, 12 Oct 2005 23:43:14 -0400 To: "Anthony Molinaro" Cc: "Tom Lane" , "Greg Stark" , "Scott Marlowe" , "Stephan Szabo" , "Rick Schumeyer" , Subject: Re: pg, mysql comparison with "group by" clause References: <3C6C2B281FD3E74C9F7C9D5B1EDA4582182613@wgexch01.wgenhq.net> In-Reply-To: <3C6C2B281FD3E74C9F7C9D5B1EDA4582182613@wgexch01.wgenhq.net> From: Greg Stark Organization: The Emacs Conspiracy; member since 1992 Date: 12 Oct 2005 23:43:14 -0400 Message-ID: <87u0fmytd9.fsf@stark.xeocode.com> Lines: 10 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 required=5 tests=[AWL=0.011] X-Spam-Level: X-Archive-Number: 200510/127 X-Sequence-Number: 22980 "Anthony Molinaro" writes: > By changing the values in the select/group by you are changing > Group! How can you arbitrarily add or exclude a column? > You can't do it. Go back and reread the previous posts again. You missed the whole point. -- greg