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

2 lines
165 B
MySQL
Raw Normal View History

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