SELECT SUM(table_rows) FROM information_schema.tables WHERE table_schema='库名称';
获取某数据库的全部数据条数
最新推荐文章于 2023-08-11 16:25:26 发布
SELECT SUM(table_rows) FROM information_schema.tables WHERE table_schema='库名称';