# 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/release-0.12.1/basics/getting-started/quick-start#batch).

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

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