查看mysql所有库中表总数量

查看所有:select count(*) tables ,table_schema from information_schema.tables group by table_schema;

查询单个:select count(*) tables ,table_schema from information_schema.tables where table_schema='yingshang' group by table_schema;

posted @ 2019-11-26 09:49  令令七  阅读(1184)  评论(0)    收藏  举报