Mysql查询某database的所有表的记录数
需求:
查询某固定db中所有表的记录数,然后排序
实现:
select table_name,table_rows from information_schema.tables where table_schema='yourdb' order by table_rows desc;
需求:
查询某固定db中所有表的记录数,然后排序
实现:
select table_name,table_rows from information_schema.tables where table_schema='yourdb' order by table_rows desc;
暂无评论。
评论功能维护中,当前仅展示历史评论。