mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
18 lines
412 B
SQL
18 lines
412 B
SQL
DROP TABLE IF EXISTS sometable;
|
|
|
|
CREATE TABLE sometable (
|
|
date Date,
|
|
time Int64,
|
|
value UInt64
|
|
) ENGINE=MergeTree()
|
|
ORDER BY time;
|
|
|
|
|
|
INSERT INTO sometable (date, time, value) VALUES ('2019-11-08', 1573185600, 100);
|
|
|
|
SELECT COUNT() from sometable;
|
|
|
|
INSERT INTO sometable (date, time, value, time) VALUES ('2019-11-08', 1573185600, 100, 1573185600); -- {serverError 15}
|
|
|
|
DROP TABLE IF EXISTS sometable;
|