MySQL查询数据库记录总行数

amber 3年前 1,992次点击 来自 mysql

select sum(table_rows) from tables where TABLE_SCHEMA = 数据库名称;
select table_name,table_rows from information_schema.tables  where table_schema=数据库名称 order by table_rows desc; 
目前暂无回复

致力于搭建一个分享发现好玩东西的社区京ICP备15052899号-3

本站总访问量 | 本文总阅读量 | 本站总访客数