Hello everyone and thank you for your support.
I would like to know your opinion how can I update the field " fSum" and get the result as in table "AfterUpdate"
- Criteria: ID and fld1
- Update field: fSum
- Remark: I have 30 000 records in my table to be calculated
InitialData
AfterUpdate
I would like to know your opinion how can I update the field " fSum" and get the result as in table "AfterUpdate"
- Criteria: ID and fld1
- Update field: fSum
- Remark: I have 30 000 records in my table to be calculated
InitialData
id | fld1 | fSum |
---|---|---|
1 | 10 | 0 |
2 | 10 | 50 |
3 | 10 | 0 |
4 | 20 | 0 |
5 | 20 | 0 |
6 | 20 | 500 |
7 | 20 | 0 |
8 | 30 | 600 |
9 | 30 | 0 |
10 | 30 | 700 |
11 | 30 | 0 |
12 | 40 | 0 |
13 | 40 | 200 |
14 | 40 | 0 |
15 | 40 | 0 |
id | fld1 | fSum |
---|---|---|
1 | 10 | 0 |
2 | 10 | 50 |
3 | 10 | 50 |
4 | 20 | 0 |
5 | 20 | 0 |
6 | 20 | 500 |
7 | 20 | 500 |
8 | 30 | 600 |
9 | 30 | 600 |
10 | 30 | 700 |
11 | 30 | 700 |
12 | 40 | 0 |
13 | 40 | 200 |
14 | 40 | 200 |
15 | 40 | 200 |