Read 224 times | Created 2013-07-12 10:00:53 | Updated 2013-07-12 10:00:53 | | |

 

@mysaldo:=0;
SELECT debit,credit,(@mysaldo:=@mysaldo+debit-credit) AS saldo FROM transaction;