mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
6 lines
438 B
SQL
6 lines
438 B
SQL
SELECT name FROM system.zookeeper WHERE path = '/';
|
|
SELECT name FROM system.zookeeper WHERE path = 'clickhouse';
|
|
SELECT name FROM system.zookeeper WHERE path IN ('/');
|
|
SELECT name FROM system.zookeeper WHERE path IN ('clickhouse');
|
|
SELECT name FROM system.zookeeper WHERE path IN ('/','/clickhouse');
|
|
SELECT name FROM system.zookeeper WHERE path IN (SELECT concat('/clickhouse/',name) FROM system.zookeeper WHERE (path = '/clickhouse/')); |