CREATE TABLE dict_03204 (k UInt64, v UInt64) ENGINE = Join(ANY, LEFT, k); INSERT INTO dict_03204 SELECT number, number FROM numbers(10); OPTIMIZE TABLE dict_03204; SELECT * FROM dict_03204 ORDER BY k; DROP TABLE dict_03204;