ClickHouse/tests/queries/0_stateless/01538_fuzz_aggregate.sql

11 lines
157 B
MySQL
Raw Normal View History

2020-10-28 01:35:40 +00:00
SELECT
count(),
sum(ns)
FROM
(
SELECT intDiv(number, NULL) AS k
FROM system.numbers_mt
GROUP BY k
)
ARRAY JOIN ns; -- { serverError 47 }