mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
8 lines
264 B
MySQL
8 lines
264 B
MySQL
|
DROP TABLE IF EXISTS test;
|
||
|
|
||
|
CREATE TABLE test(key FixedString(10)) ENGINE=MergeTree() PARTITION BY tuple() ORDER BY (key);
|
||
|
INSERT INTO test SELECT toString(intDiv(number, 8)) FROM numbers(100);
|
||
|
SELECT count() FROM test WHERE key = '1';
|
||
|
|
||
|
DROP TABLE IF EXISTS test;
|