mysql查询某个库的表个数

SELECT COUNT(1) FROM information_schema.tables WHERE table_schema = 'leleli';

--解释:数据库名叫“leleli”

原文地址:https://www.cnblogs.com/jirglt/p/3540653.html