查詢MySQL中某個數據庫中有多少張表

SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES   WHERE table_schema = '數據庫' GROUP BY table_schema;數據庫

 

SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES   WHERE table_schema = 'bwlbis' GROUP BY table_schema;orm

相關文章
相關標籤/搜索