dear all
I have a sql table account_Detail. It has data like below,
date credit Debit
5/1/2012 1000.00 800.00
5/1/2012 2000.00 1000.00
5/2/2012 5000.00 1000.00
5/2/2012 800.00 1000.00
5/2/2012 2000.00 4000.00
5/3/2012 1000.00 1000.00
I want to write a programme(web or windows), it display record like below.
Date Sum(credit) Sum(debit)
5/1/2012 3000.00 1800.00
5/2/2012 7800.00 6000.00
5/3/2012 1000.00 1000.00
how I do that, Please help me.
Rathnayake