开发者社区 问答 正文

msyql查看当前数据库中所有库中表的行数

msyql查看当前数据库中所有库中表的行数

展开
收起
Dynastys 2021-10-13 18:21:26 2147 分享 版权
1 条回答
写回答
取消 提交回答
  • use information_schema;

    select table_name,table_rows from tables where TABLE_SCHEMA = '<数据库名称>' order by table_rows desc;

    2021-10-16 11:32:31
    赞同 展开评论
问答分类:
问答标签:
问答地址: