Name Id
aa 1
bb 5
I use this to fetch all values from id column
SELECT id FROM name_table;
I want to sum the values in the id column. To be clear, I am making a financial application and want to add up all the money recorded in the msql database
2
Answers
If you want to just get sum of all ID values, then this would work: