mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
This commit is contained in:
parent
d6ee50577a
commit
496bc25bff
@ -80,7 +80,7 @@ select argMin(a, b), min(b) from test;
|
||||
|
||||
select argMin(tuple(a), b) from test;
|
||||
┌─argMin(tuple(a), b)─┐
|
||||
│ (NULL) │ -- Tuple allows to get Null value.
|
||||
│ (NULL) │ -- The a `Tuple` that contains only a `NULL` value is not `NULL`, so the aggregate functions won't skip that row because of that `NULL` value
|
||||
└─────────────────────┘
|
||||
|
||||
select (argMin((a, b), b) as t).1 argMinA, t.2 argMinB from test;
|
||||
|
Loading…
Reference in New Issue
Block a user