mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
11 lines
173 B
SQL
11 lines
173 B
SQL
SELECT
|
|
count(),
|
|
sum(ns)
|
|
FROM
|
|
(
|
|
SELECT intDiv(number, NULL) AS k
|
|
FROM system.numbers_mt
|
|
GROUP BY k
|
|
)
|
|
ARRAY JOIN ns; -- { serverError UNKNOWN_IDENTIFIER }
|