I have a table which has trasactions in it which have an amount.
ie
id amount
1 50000
2 400
3 -378
4 344
I need to add a new column showing what the balance was at every transaction point but am stuck on how to do it in an efficient way, can anyone help please?
Cheers
tim
ie
id amount
1 50000
2 400
3 -378
4 344
I need to add a new column showing what the balance was at every transaction point but am stuck on how to do it in an efficient way, can anyone help please?
Cheers
tim