sum

Description

Calculate the sum of the argument across the group, or of the scalar arguments if more than one.

Return type

any

Domain

This is an aggregate function (aggregates rows over a group in aggregate verbs.)

This is a window function (calculates over a group of multiple input rows using windowing.)

Categories

Usage

sum( item ... )

Argument

Type

Required

Multiple

item

numeric

Required

Can be multiple