Riz Posted September 13, 2006 Share Posted September 13, 2006 (edited) Hi all,I have got table Trns like below, How can write SQL to find the balance? date------desc---Credit---Debit---Balance12/9------any 0.00 5.00 -50013/9------any 3.00 0.00 -20014/9------any 2.30 0.00 30Thanks in advance. Edited September 13, 2006 by Riz Link to comment Share on other sites More sharing options...
Riz Posted September 13, 2006 Author Share Posted September 13, 2006 (edited) Hi all,I have got table Trns like below, How can write SQL to find the balance? date------desc---Credit---Debit---Balance12/9------any 0.00 5.00 -50013/9------any 3.00 0.00 -20014/9------any 2.30 0.00 30Thanks in advance.Any help please. its urgent Edited September 13, 2006 by Riz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now