1. 程式人生 > >資料庫工作筆記007---mysql查詢資料庫中共有多少表

資料庫工作筆記007---mysql查詢資料庫中共有多少表

SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = ‘tableName’ GROUP BY table_schema;

tableName 這個是你的資料庫表名

上圖

這裡寫圖片描述

--------------------- 本文來自 guijih 的CSDN 部落格 ,全文地址請點選:https://blog.csdn.net/qq_29729601/article/details/78841159?utm_source=copy