I'll try to rephrase my question.
Let's assume there is a table with 1 field - IntegerNumber.
I need to write a query whose result is the same length as the table, aka same number of rows, and there are 2 fields in the result of the query: The integer number (that's easy, just "select" it), and, for each row, the sum of all the integer numbers from the beginning of the table and until this row.
For example, if the table is:

2
4
1
1
10

I need a query whose result is:
2 2
4 6
1 7
1 8
10 18

I hope I am better understood now.
Thanks
Tova