mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
11 lines
157 B
MySQL
11 lines
157 B
MySQL
|
SELECT
|
||
|
count(),
|
||
|
sum(ns)
|
||
|
FROM
|
||
|
(
|
||
|
SELECT intDiv(number, NULL) AS k
|
||
|
FROM system.numbers_mt
|
||
|
GROUP BY k
|
||
|
)
|
||
|
ARRAY JOIN ns; -- { serverError 47 }
|