dbms: added test [#METR-16341].

This commit is contained in:
Alexey Milovidov 2015-05-19 00:03:08 +03:00
parent 2b12e65784
commit fa6a6682d3
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,6 @@
1
2
3
4
5
6

View File

@ -0,0 +1,13 @@
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;