SUM()
SUM() — Returns the sum of a range of numeric column values.
Description
The SUM() function returns the sum of a range of numeric column values. The values being added together depend on
the constraints defined by the WHERE and GROUP BY clauses.
Example
The following example uses the SUM() function to determine how much inventory exists for each product type in the
catalog.