MySQL——查看当前数据库中所有库中表的行数
前言
就这样吧
步骤
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = '<数据库名称>' order by table_rows desc;
学无止境,谦卑而行.
就这样吧
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = '<数据库名称>' order by table_rows desc;