查看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;

版权声明:本文为sz-xioabai原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/sz-xioabai/p/11933419.html