mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
11 lines
422 B
SQL
11 lines
422 B
SQL
DROP TABLE IF EXISTS test_table;
|
|
CREATE TABLE test_table (id UInt64, value IPv6) ENGINE=MergeTree ORDER BY id;
|
|
|
|
INSERT INTO test_table VALUES (0, '0000:0000:0000:0000:0000:ffff:1.12.12.12');
|
|
INSERT INTO test_table VALUES (1, '0000:0000:0000:0000:0000:ffff:123.123.123.123');
|
|
INSERT INTO test_table VALUES (2, '0000:0000:0000:0000:0000:ffff:192.168.100.228');
|
|
|
|
SELECT * FROM test_table ORDER BY id;
|
|
|
|
DROP TABLE test_table;
|