mysql 查询每个表分别有多少条记录

use information_schema;

 

select table_name,table_rows from tables where TABLE_SCHEMA = '数据库的名称' order by table_rows desc;

posted @ 2020-05-13 15:12  twokittens  阅读(2017)  评论(0编辑  收藏  举报