Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 
value

3692601

Was this helpful?