统计mysql中某个库中的表的个数

统计mysql中某个库中的表的个数
SELECT count(*) TABLES, table_schema FROM information_schema.TABLES   
where table_schema = '数据库名称' GROUP BY table_schema; 

猜你喜欢

转载自blog.csdn.net/zhangchb/article/details/81064393
今日推荐