mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 20:32:43 +00:00
732 B
732 B
slug | sidebar_label |
---|---|
/en/sql-reference/statements/create/named-collection | NAMED COLLECTION |
CREATE NAMED COLLECTION
Creates a new named collection.
Syntax
CREATE NAMED COLLECTION [IF NOT EXISTS] name [ON CLUSTER cluster] AS
key_name1 = 'some value',
key_name2 = 'some value',
key_name3 = 'some value',
...
Example
CREATE NAMED COLLECTION foobar AS a = '1', b = '2';
Related statements
See Also