mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
421 B
421 B
toc_title |
---|
ALL |
ALL Clause
SELECT ALL
is identical to SELECT
without DISTINCT
.
- If
ALL
specified, ignore it. - If both
ALL
andDISTINCT
specified, exception will be thrown.
ALL
can also be specified inside aggregate function with the same effect(noop), for instance:
SELECT sum(ALL number) FROM numbers(10);
equals to
SELECT sum(number) FROM numbers(10);