ClickHouse/tests/queries/0_stateless/00545_weird_aggregate_functions.sql
2021-08-16 12:10:51 +03:00

2 lines
185 B
SQL

SELECT sumForEachMergeArray(y) FROM (SELECT sumForEachStateForEachIfArrayMerge(x) AS y FROM (SELECT sumForEachStateForEachIfArrayState([[[1, 2, 3], [4, 5, 6], [7, 8, 9]]], [1]) AS x));