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

99999是 库名

相关文章: