mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
17 lines
332 B
SQL
17 lines
332 B
SQL
DROP TABLE IF EXISTS random_mt;
|
|
|
|
CREATE TABLE random_mt
|
|
(
|
|
key UInt64,
|
|
value String
|
|
)
|
|
ENGINE MergeTree()
|
|
ORDER BY tuple();
|
|
|
|
INSERT INTO random_mt VALUES (1, 'Hello');
|
|
|
|
SELECT any(value > 0) from system.events WHERE event = 'PartsLockHoldMicroseconds' or event = 'PartsLockWaitMicroseconds';
|
|
|
|
DROP TABLE IF EXISTS random_mt;
|
|
|