mysql 查询库中有几张表

SELECT COUNT(*) TABLES, table_schema
FROM information_schema.TABLES
WHERE table_schema = '999*999'

99999是 库名
原文地址:https://www.cnblogs.com/whm-blog/p/10444497.html