MYSQL SQL统计各表记录数量
SELECT TABLE_NAME, TABLE_ROWS FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'zgpro' -- 替换为你的数据库名 ORDER BY TABLE_ROWS DESC;