mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
5 lines
204 B
SQL
5 lines
204 B
SQL
DROP TABLE IF EXISTS view_without_sample;
|
|
CREATE VIEW view_without_sample AS SELECT 1 AS x;
|
|
SELECT * FROM merge(currentDatabase(), '^view_without_sample$') SAMPLE 1 / 100;
|
|
DROP TABLE view_without_sample;
|