mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
11 lines
278 B
MySQL
11 lines
278 B
MySQL
|
DROP TABLE IF EXISTS t;
|
||
|
DROP TABLE IF EXISTS t_v;
|
||
|
|
||
|
CREATE TABLE t ( a String ) ENGINE = Memory();
|
||
|
CREATE VIEW t_v AS SELECT * FROM t;
|
||
|
SET output_format_write_statistics = 0;
|
||
|
SELECT * FROM t_v FORMAT JSON SETTINGS extremes = 1;
|
||
|
|
||
|
DROP TABLE IF EXISTS t;
|
||
|
DROP TABLE IF EXISTS t_v;
|