ClickHouse/dbms/tests/queries/1_stateful/00073_uniq_array.sql

2 lines
179 B
MySQL
Raw Normal View History

SELECT EventDate, uniqExact(UserID), length(groupUniqArray(UserID)), arrayUniq(groupArray(UserID)) FROM test.hits WHERE CounterID = 1704509 GROUP BY EventDate ORDER BY EventDate;