mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +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;
|