mysql 查看数据库中所有表的记录数

mysql 查看数据库中所有表的记录数

use information_schema;

select table_name,table_rows from tables

where TABLE_SCHEMA = 'testdb'

order by table_rows desc;

posted @ 2017-02-27 11:22  已老  阅读(19425)  评论(0编辑  收藏  举报