mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
8 lines
188 B
MySQL
8 lines
188 B
MySQL
|
-- https://github.com/ClickHouse/ClickHouse/issues/49472
|
||
|
SELECT
|
||
|
concat(database, table) AS name,
|
||
|
count()
|
||
|
FROM clusterAllReplicas(default, system.tables)
|
||
|
GROUP BY name
|
||
|
FORMAT Null;
|