I need from you to help me to extract a query from one table for financial transaction and its rows as follows :
Accountnumber :for example (4568643)
Transactionamount :for example (1000 dollar)
Kindoftransaction (debit or credit )
transactionfile (and this number holds the file number that linked to this transaction)
I need your help to extract Query for the net balance of each (transactionfile) after sum All
(Transactionamount) holds “credit” from (Kindoftransaction) and subtract it from sum of All (Transactionamount) holds “debit” where
(Accountnumber) is (4568643)
1 Answer