ClickHouse/dbms/tests/queries/0_stateless/00545_weird_aggregate_functions.sql

2 lines
192 B
MySQL
Raw Normal View History

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