Merge pull request #21675 from MichaelMonashev/patch-4

DOC Fix ORDER BY syntax
This commit is contained in:
Anton Popov 2021-03-16 15:43:13 +03:00 committed by GitHub
commit 06b7d17148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -517,7 +517,7 @@ CREATE TABLE table_for_aggregation
y Int
)
ENGINE = MergeTree
ORDER BY k1, k2
ORDER BY (k1, k2)
TTL d + INTERVAL 1 MONTH GROUP BY k1, k2 SET x = max(x), y = min(y);
```