SELECT
COUNT(*) TABLES,
table_schema
FROM
information_schema. TABLES
WHERE
table_schema = 'bigdatashare'
GROUP BY
table_schema;
我们这里的bigdatashare就是我们要指定的数据库名字。
SELECT
COUNT(*) TABLES,
table_schema
FROM
information_schema. TABLES
WHERE
table_schema = 'bigdatashare'
GROUP BY
table_schema;
我们这里的bigdatashare就是我们要指定的数据库名字。