sql mysql统计表记录数

葫芦的运维日志

浏览量 6192 2018/09/28 16:34

use information_schema;

select table_name,table_rows from tables  where table_schema='dbname' order by table_rows desc;

 

📝 版权声明

本文作者:王梓 | 原文链接:https://www.bthlt.com/note/63-mysql统计表记录数

出处:葫芦的运维日志 | 转载请注明出处并保留原文链接

打赏

留言板

留言提交后需管理员审核通过才会显示

© 冰糖葫芦甜(bthlt.com) 2025 王梓打赏联系方式陕ICP备17005322号-1