I have never done any calculations with sql query, so I have no idea how to do this so please help.
well i have two tables acc_tbl and ledger_tbl ( screenshots ) i need to find the the difference between total debit and total credit of that particular ledger debit (Dr) and credit(Cr) everything in screenshot.
All i know was to join the table and select all thr columns available.