ClickHouse/tests/queries/1_stateful/00166_explain_estimate.sql
2021-07-14 21:12:32 +08:00

6 lines
442 B
SQL

EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID = 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID != 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID > 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID < 29103473;
EXPLAIN ESTIMATE SELECT count() FROM test.hits WHERE CounterID = 29103473 UNION ALL SELECT count() FROM test.hits WHERE CounterID = 1704509;