hi,
I need to knw on how to accumulate the total amount in sql table. I have created a table below but it does not calculate accurately. By mean it just total up current top up amount with the 1st value of grand total.
How do i total up to get the accurate figure.
ID Amount GrandTotal
99 1000 1000
99 500 1500
99 300 1300
99 200 1200
Please help