SELECT count(*) TABLES, table_schema FROM information_schema.TABLES   
where table_schema = '数据库名称' GROUP BY table_schema; 
 
统计MySQL中某个数据库中表记录数
use information_schema;
select table_name,table_rows from tables where TABLE_SCHEMA = 'pims_ptemp' order by table_rows desc;
 
where table_schema = 你的数据库名

相关文章:

  • 2022-01-13
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
  • 2021-10-16
  • 2021-04-09
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案