# maxString

Get the maximum string value lexicographically from a string column

## Signature

> MAXSTRING(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 MAXSTRING(playerName) as maxString from baseballStats
```

| maxString      |
| -------------- |
| Zoilo Casanova |
