mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
20 lines
339 B
SQL
20 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;
|