mysql 查询整个数据库所有表的行数

>use information_schema;
>select sum(table_rows) from tables where TABLE_SCHEMA = "test" order by table_rows asc;

  

原文地址:https://www.cnblogs.com/royfans/p/10956374.html