查看所有表的行数

use information_schema;
select table_name,table_rows from tables
where TABLE_SCHEMA = 'erpdb'
order by table_rows desc;

你可能感兴趣的:(查看所有表的行数)