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

2 lines
178 B
MySQL
Raw Normal View History

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