ClickHouse/tests/queries/0_stateless/01538_fuzz_aggregate.sql
2024-05-30 19:41:08 +00:00

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 }