mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
Update docs/en/operations/settings/settings.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
This commit is contained in:
parent
bb03d7ab3f
commit
7b947140b9
@ -2891,7 +2891,12 @@ Result:
|
|||||||
``` text
|
``` text
|
||||||
Received exception from server (version 21.5.1):
|
Received exception from server (version 21.5.1):
|
||||||
Code: 184. DB::Exception: Received from localhost:9000. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number.
|
Code: 184. DB::Exception: Received from localhost:9000. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number.
|
||||||
=======
|
|
||||||
|
Query:
|
||||||
|
|
||||||
|
```sql
|
||||||
|
SET prefer_column_name_to_alias = 1;
|
||||||
|
SELECT avg(number) AS number, max(number) FROM numbers(10);
|
||||||
## limit {#limit}
|
## limit {#limit}
|
||||||
|
|
||||||
Sets the maximum number of rows to get from the query result. It adjusts the value set by the [LIMIT](../../sql-reference/statements/select/limit.md#limit-clause) clause, so that the limit, specified in the query, cannot exceed the limit, set by this setting.
|
Sets the maximum number of rows to get from the query result. It adjusts the value set by the [LIMIT](../../sql-reference/statements/select/limit.md#limit-clause) clause, so that the limit, specified in the query, cannot exceed the limit, set by this setting.
|
||||||
|
Loading…
Reference in New Issue
Block a user