MySQL查询数据库各表的行数

#倒序查询数据库【各表记录数】
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = '数据库名' order by 
table_rows desc;

 

posted @ 2020-03-30 13:48  少年奶油喵  阅读(4319)  评论(0编辑  收藏  举报