ClickHouse/dbms/tests/queries/1_stateful/00068_subquery_in_prewhere.sql
2018-08-07 20:08:51 +03:00

2 lines
106 B
SQL

SELECT count() FROM test.hits PREWHERE UserID IN (SELECT UserID FROM test.hits WHERE CounterID = 101500);