当前位置:Gxlcms > 数据库问题 > MySQL数据库查询某个库下有几张数据表

MySQL数据库查询某个库下有几张数据表

时间:2021-07-01 10:21:17 帮助过:18人阅读

SELECT COUNT(*) TABLES, table_schema
FROM information_schema.TABLES
WHERE table_schema = ‘数据库名‘ GROUP BY table_schema;

MySQL数据库查询某个库下有几张数据表

标签:mysql数据库   数据库查询   sql   span   rom   sql数据库   select   orm   where   

人气教程排行