mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
20 lines
339 B
MySQL
20 lines
339 B
MySQL
|
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;
|