mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 06:50:50 +00:00
14 lines
388 B
MySQL
14 lines
388 B
MySQL
|
DROP TABLE IF EXISTS test.memory;
|
||
|
CREATE TABLE test.memory (x UInt8) ENGINE = Memory;
|
||
|
|
||
|
INSERT INTO test.memory VALUES (1);
|
||
|
INSERT INTO test.memory (x) VALUES (2);
|
||
|
INSERT INTO test.memory ( x) VALUES (3);
|
||
|
INSERT INTO test.memory (x ) VALUES (4);
|
||
|
INSERT INTO test.memory ( x ) VALUES (5);
|
||
|
INSERT INTO test.memory(x)VALUES(6);
|
||
|
|
||
|
SELECT * FROM test.memory ORDER BY x;
|
||
|
|
||
|
DROP TABLE test.memory;
|