mysql 获取指定数据库所有表行数

use information_schema;


select table_name,table_rows from tables where TABLE_SCHEMA = '_bjca' order by table_rows desc;

原文地址:https://www.cnblogs.com/wdkshy/p/12840741.html