ClickHouse/tests/queries/1_stateful/00166_explain_estimate.sql

9 lines
529 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: no-replicated-database
-- Tag no-replicated-database: Requires investigation
2021-07-14 13:12:32 +00:00
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;