ClickHouse/tests/queries/1_stateful/00007_uniq.sql

2 lines
139 B
MySQL
Raw Normal View History

2019-01-16 12:07:26 +00:00
SELECT RegionID, uniq(UserID) AS u FROM test.hits WHERE CounterID = 800784 GROUP BY RegionID ORDER BY u DESC, RegionID LIMIT 10 -- nothing