SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES   
WHERE table_schema = 'performance' GROUP BY table_schema;  

 

这里 table_schema = '数据库名字'

【MySQL】 查询某个数据库有多少张数据表

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2021-11-03
  • 2022-01-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-16
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
相关资源
相似解决方案