mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +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/')); |