ClickHouse/dbms/tests/queries/1_stateful/00069_duplicate_aggregation_keys.sql

2 lines
166 B
MySQL
Raw Normal View History

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