use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = 'DBNAME' order by table_rows desc;
将DBNAME换成相应的数据库名字即可。
查询结果将按照表名和表记录数递减顺序排列。
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = 'DBNAME' order by table_rows desc;
将DBNAME换成相应的数据库名字即可。
查询结果将按照表名和表记录数递减顺序排列。