Accumulated sums in SQL query - Mailing list pgsql-sql

From Kabai József
Subject Accumulated sums in SQL query
Date
Msg-id 006101c27e5a$08153840$6b01a8c0@audiobox.hu
Whole thread Raw
In response to Re: datediff?  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
Hi,
Which is the simplest way to create an SQL query to get accumulated sums of records like this (from the table
containingthe numbers): 

number    sums
---------------
1               1
2               3
3               6
4              10

Thanks in advance
Regards, Joseph




pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: datediff?
Next
From: Christoph Haller
Date:
Subject: Re: Accumulated sums in SQL query