# max

Get the maximum value in a group

## Signature

> MAX(colName)

## Usage Examples

These examples are based on the [Batch Quick Start](https://docs.pinot.apache.org/release-1.1.0/basics/getting-started/quick-start#batch).

```sql
select max(homeRuns) AS value
from baseballStats 
```

| value |
| ----- |
| 73    |
