ClickHouse/docs/en/sql-reference/aggregate-functions/reference/argmax.md
Ivan Blinkov 7170f3c534
[docs] split aggregate function and system table references (#11742)
* prefer relative links from root

* wip

* split aggregate function reference

* split system tables
2020-06-18 11:24:31 +03:00

10 lines
267 B
Markdown

---
toc_priority: 106
---
# argMax {#agg-function-argmax}
Syntax: `argMax(arg, val)`
Calculates the `arg` value for a maximum `val` value. If there are several different values of `arg` for maximum values of `val`, the first of these values encountered is output.