SUM Function
tags: #sql/aggregate_functions
Data Type
You can only use SUM on columns containing numerical values.
The SUM() function returns the total sum of a numeric column. The function adds together all the values in a particular column.
SELECT SUM(column_name)AS Columnname
FROM table_name
WHERE condition;