How do I add and subtract numbers in SQLite for android?
I'm creating a simple financial app where the user can input an income or expense. I cannot find anywhere how I can change the "total" amount by adding or subtracting numbers inside the database. The easiest way I can explain it is: user enters an income of $10 : So I would add that 10 into the database. user enters an expense of -$5 : so i would also add that into the database the end result should be $5 as the total, but how do I do this? I'm completely stuck as I've never use SQLite before. Thanks You can do that simply by firing 2 commands on SQL a) Use Select to get the value from the