Running balance calculation using window functions with join – Mysql
I am trying to find a way to calculate the running balance of an account. Below is my schema and the query I tried. CREATE TABLE transactions( id INTEGER NOT NULL PRIMARY KEY ,date DATE NOT NULL ,dr INTEGER NOT…