mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
8aafa3b042
* Cmake: fix warnings * Tests: replace 127.0.0.1 -> localhost
10 lines
399 B
SQL
10 lines
399 B
SQL
DROP TABLE IF EXISTS test.nested;
|
|
CREATE TABLE test.nested (n Nested(x UInt8)) ENGINE = Memory;
|
|
INSERT INTO test.nested VALUES ([1, 2]);
|
|
SELECT 1 AS x FROM remote('localhost', test.nested) ARRAY JOIN n.x;
|
|
DROP TABLE test.nested;
|
|
|
|
SELECT dummy AS dummy, dummy AS b FROM system.one;
|
|
SELECT dummy AS dummy, dummy AS b, b AS c FROM system.one;
|
|
SELECT b AS c, dummy AS b, dummy AS dummy FROM system.one;
|