How to create a running balance column based on account number?
It seems you need in simple 

SELECT *, SUM(debit_balance - credit_balance)
             OVER (PARTITION BY account_no ORDER BY id) balance
FROM acc_account_transactions


fiddle