SET enable_analyzer = 1;

CREATE TABLE test_table
(
    id UInt64,
    value String
) ENGINE=MergeTree ORDER BY id;

INSERT INTO test_table SELECT 0, 'Value_0';

CREATE TABLE test_table_data
(
    id UInt64,
    value String
) ENGINE=MergeTree ORDER BY id;

INSERT INTO test_table_data VALUES (1, 'Value_1'), (2, 'Value_2');

INSERT INTO test_table SELECT id, value FROM test_table_data;

SELECT id, value FROM test_table ORDER BY id;

DROP TABLE test_table_data;
DROP TABLE test_table;
