Hello,
Please, i need to know the JDBC code (applying servlet) to use with mySql to generate account balances from my customer_table having three columns(i.e. DEBIT, CREDIT,BALANCE) in the following format:
CR-------------------------DR----------------------BALANCE
30................................5..................................25
2..................................3..................................24
I can only use 'select sum....' code to get the sums of both DR and CR columns individually and then getting the difference of the two totals.
Please, anyone that has an idea should help me.
Thanks!!!
JNORA.