sum

This section contains reference documentation for the sum function.

Get the sum of values in a group

Signature

SUM(colName)

Usage Examples

These examples are based on the Batch Quick Start.

select sum(hits) AS value
from baseballStats