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

4 lines
206 B
SQL

SET max_rows_to_read = 1000;
SELECT CounterID, uniq(UserID) FROM test.hits WHERE 0 != 0 GROUP BY CounterID;
SELECT CounterID, uniq(UserID) FROM test.hits WHERE 0 AND CounterID = 1704509 GROUP BY CounterID;