ClickHouse/tests/queries/0_stateless/01937_nested_chinese.sql
2021-07-03 03:13:21 +03:00

9 lines
387 B
SQL

CREATE TEMPORARY TABLE test (`id` String, `products` Nested (`` Array(String), `` Array(Int32)));
DESCRIBE test;
DESCRIBE (SELECT * FROM test);
DESCRIBE (SELECT * FROM test ARRAY JOIN products);
DESCRIBE (SELECT p.``, p.`` FROM test ARRAY JOIN products AS p);
SELECT * FROM test ARRAY JOIN products;
SELECT count() FROM (SELECT * FROM test ARRAY JOIN products);