ClickHouse/dbms/tests/queries/1_stateful/00069_duplicate_aggregation_keys.sql
2018-12-30 01:13:23 +03:00

2 lines
166 B
SQL

SELECT URL, EventDate, max(URL) FROM test.hits WHERE CounterID = 1704509 AND UserID = 4322253409885123546 GROUP BY URL, EventDate, EventDate ORDER BY URL, EventDate;