Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 7019C632978 for ; Fri, 11 Jun 2010 11:49:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 93585-07 for ; Fri, 11 Jun 2010 14:49:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mh4.mail.rice.edu (mh4.mail.rice.edu [128.42.199.11]) by mail.postgresql.org (Postfix) with ESMTP id 208E763234F for ; Fri, 11 Jun 2010 11:49:24 -0300 (ADT) Received: from mh4.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh4.mail.rice.edu (Postfix) with ESMTP id 85F9E37004A; Fri, 11 Jun 2010 09:49:22 -0500 (CDT) X-Virus-Scanned: by amavis-2.6.0 at mh4.mail.rice.edu Received: from mh4.mail.rice.edu ([127.0.0.1]) by mh4.mail.rice.edu (mh4.mail.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gng998TxsVrC; Fri, 11 Jun 2010 09:49:22 -0500 (CDT) Received: from aart.is.rice.edu (aart.is.rice.edu [168.7.56.48]) by mh4.mail.rice.edu (Postfix) with ESMTP id 5A82A370049; Fri, 11 Jun 2010 09:49:22 -0500 (CDT) Received: by aart.is.rice.edu (Postfix, from userid 18612) id DF3E62D5A6; Fri, 11 Jun 2010 09:49:21 -0500 (CDT) Date: Fri, 11 Jun 2010 09:49:21 -0500 From: Kenneth Marshall To: Thomas Kellerer Cc: pgsql-sql@postgresql.org Subject: Re: is there a tutorial on window functions? Message-ID: <20100611144921.GT3063@aart.is.rice.edu> References: <201006110717.44963.johnf@jfcomputer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.81 tagged_above=-5 required=5 tests=BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201006/47 X-Sequence-Number: 34238 On Fri, Jun 11, 2010 at 04:39:37PM +0200, Thomas Kellerer wrote: > John, 11.06.2010 16:17: >> Hi, >> I'd like to learn the use of window functions and did not find a tutorial >> using google ("postgres window function tutorial"). I'm hoping someone >> has a >> link. > > There is one in the manual: > > http://www.postgresql.org/docs/current/static/tutorial-window.html > > Thomas > You can also search online for window function examples for various other SQL databases and they pretty much work too. Ken