mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
18 lines
339 B
SQL
18 lines
339 B
SQL
DROP TABLE IF EXISTS tuple;
|
|
|
|
CREATE TABLE tuple
|
|
(
|
|
`j` Tuple(a Int8, b String)
|
|
)
|
|
ENGINE = Memory;
|
|
|
|
SHOW CREATE TABLE tuple FORMAT TSVRaw;
|
|
DESC tuple;
|
|
DROP TABLE tuple;
|
|
|
|
CREATE TABLE tuple ENGINE = Memory AS SELECT CAST((1, 'Test'), 'Tuple(a Int8, b String)') AS j;
|
|
|
|
SHOW CREATE TABLE tuple FORMAT TSVRaw;
|
|
DESC tuple;
|
|
DROP TABLE tuple;
|