mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
10 lines
301 B
SQL
10 lines
301 B
SQL
DROP TABLE IF EXISTS testmt;
|
|
|
|
CREATE TABLE testmt (`CounterID` UInt64, `value` String) ENGINE = MergeTree() ORDER BY CounterID;
|
|
|
|
INSERT INTO testmt VALUES (1, '1'), (2, '2');
|
|
|
|
SELECT arrayJoin([CounterID NOT IN (2)]) AS counter FROM testmt WHERE CounterID IN (2) GROUP BY counter;
|
|
|
|
DROP TABLE testmt;
|