Subject | Re: [firebird-support] Function - what is it called |
---|---|
Author | Mike Ro |
Post date | 2015-01-23T10:33:49Z |
On 23/01/2015 10:25, Michael.Vilhelmsen@...
[firebird-support] wrote:
This is sometimes called the Triangular Number, seeHi
I am looking for a function which are able to add values from a table as records are fetched.
Something like this:
Value Calculated value
1 1
2 3
3 6
4 10
5 15
The calculated value is just the sum of all previous values of VALUE.
Whats the name of such function in english and Firebird?
http://en.wikipedia.org/wiki/Triangular_number