mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +00:00
8 lines
306 B
SQL
8 lines
306 B
SQL
-- Tags: no-parallel-replicas
|
|
|
|
DROP TABLE IF EXISTS test.merge_hits;
|
|
CREATE TABLE IF NOT EXISTS test.merge_hits AS test.hits ENGINE = Merge(test, '^hits$');
|
|
SELECT count() FROM test.merge_hits WHERE AdvEngineID = 2;
|
|
SELECT count() FROM test.merge_hits PREWHERE AdvEngineID = 2;
|
|
DROP TABLE test.merge_hits;
|