How to find the running total with the columns like amount send and amount receive with sql query? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How to find the running total with the columns like amount send and amount receive with sql query?

14th Dec 2020, 8:24 AM
Learner
1 Antwort
0
use alias , search against eg: select send as a, received as b , (a+b) as running_total where date between '2020-12-01' and '2020-12-20' you can also get a single row for certain period using group clause
22nd Dec 2020, 8:41 AM
Maharaja