Skip to content

Commit b262fe2

Browse files
authored
Merge pull request ClickHouse#79832 from ClickHouse/Blargian-patch-14
Docs: fix typo
2 parents 12a8efa + f49d3fd commit b262fe2

File tree

1 file changed

+5
-3
lines changed
  • docs/en/sql-reference/statements/select

1 file changed

+5
-3
lines changed

docs/en/sql-reference/statements/select/all.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ title: 'ALL Clause'
77

88
# ALL Clause
99

10-
If there are multiple matching rows in the table, then `ALL` returns all of them. `SELECT ALL` is identical to `SELECT` without `DISTINCT`. If both `ALL` and `DISTINCT` specified, exception will be thrown.
10+
If there are multiple matching rows in a table, then `ALL` returns all of them. `SELECT ALL` is identical to `SELECT` without `DISTINCT`. If both `ALL` and `DISTINCT` are specified, then an exception will be thrown.
1111

12+
`ALL` can be specified inside aggregate functions, although it has no practical effect on the query's result.
1213

13-
`ALL` can also be specified inside aggregate function with the same effect(noop), for instance:
14+
For example:
1415

1516
```sql
1617
SELECT sum(ALL number) FROM numbers(10);
1718
```
18-
equals to
19+
20+
Is equivalent to:
1921

2022
```sql
2123
SELECT sum(number) FROM numbers(10);

0 commit comments

Comments
 (0)