sum()

Returns the sum of all rows values in a numeric column.

sum() follows this syntax.

SELECT sum(COLUMN_NAME)
FROM DATASET
WHERE CONDITION;