ClickHouse/tests/queries/1_stateful/00144_functions_of_aggregation_states.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

2 lines
177 B
MySQL
Raw Normal View History

SELECT EventDate, finalizeAggregation(state), runningAccumulate(state) FROM (SELECT EventDate, uniqState(UserID) AS state FROM test.hits GROUP BY EventDate ORDER BY EventDate);