ClickHouse/dbms/tests/queries/1_stateful/00068_subquery_in_prewhere.sql

2 lines
106 B
MySQL
Raw Normal View History

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