I have table with 500+ rows and I want to sum all the values in a column.
Example:
name | number
----------------
name1 | 25
name2 | 10
name3 | 5
name4 | 20
The total sum is: 60
I can do that via PHP but is this possible using an SQL query?
sum()is 60, and that is a big hint.