📜  mysql 获取所有表的行数 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:14.254000             🧑  作者: Mango

代码示例4
select table_name, sum(table_rows) as sum 
from information_schema.tables
where table_schema = '[DB NAME]'
group by table_name 
order by sum desc;