On Wed, May 14, 2008 at 1:54 AM, Gavin 'Beau' Baumanis
<gavinb(at)eclinic(dot)com(dot)au> wrote:
> Hi Everyone,
>
> After spending some time searching through our good friend Mr. Google and
> the mailing list I found a post that provided me with a query that does just
> what I need.
I think that this should be helpful:
http://www.depesz.com/index.php/2007/08/17/rownum-anyone-cumulative-sum-in-one-query/