Aggregates
Aggregate
max()
Returns the maximum value present in arg.
Reference: DuckDB 2.0.0
Arguments & returns
2 overloadsmax(arg)
Aggregate
| Overload link | arg |
Returns |
|---|---|---|
| #01 | ANY |
ANY |
max(arg, n)
Aggregate
| Overload link | arg | n |
Returns |
|---|---|---|---|
| #02 | ANY | BIGINT |
ANY[] |
Example
Haybarn WASM 2.0.0-rc12 · In your browser
Engine example with sample data · Run to view results.