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:
Denny Crane 2023-06-06 10:26:35 -03:00 committed by GitHub
parent d6ee50577a
commit 496bc25bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;