您的位置:首页 > 数据库 > MySQL

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

2017-06-28 21:03 288 查看
use information_schema;

select table_name,table_rows from tables 

where TABLE_SCHEMA = 'testdb' 

order by table_rows desc;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: