SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = 'yxltest' GROUP BY table_schema
yxltest:数据库名字
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = 'yxltest' GROUP BY table_schema
yxltest:数据库名字