# sum

Get the sum of values in a group

## Signature

> SUM(colName)

## Usage Examples

These examples are based on the [Batch Quick Start](https://docs.pinot.apache.org/start-here/quick-start#batch-processing).

```sql
select sum(hits) AS value
from baseballStats 
```

| value   |
| ------- |
| 3692601 |
