统计一个数据库中每一个表的记录数

来源:互联网 发布:淘宝双十一晚会2017 编辑:程序博客网 时间:2024/06/09 11:23
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = '数据库名' order by table_rows desc;

原创粉丝点击