mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
7170f3c534
* prefer relative links from root * wip * split aggregate function reference * split system tables
10 lines
267 B
Markdown
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.
|