mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-09 07:52:19 +00:00
5 lines
204 B
MySQL
5 lines
204 B
MySQL
|
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;
|