MySQL Select sum
The SELECT SUM() FROM syntax is used to sum the statistics from the data table.
SELECT SUM(column) FROM Tb_name
The SQL syntax is used to count the sum of the values of a numeric type field. SUM() can not be multiple fields, but types such as strings can be executed without meaning.
SELECT SUM(age) FROM userResult