mysql :
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = '表名' GROUP BY table_schema;
mysql :
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = '表名' GROUP BY table_schema;