1.每个数据库都有一个schemata的表,保存数据库的元数据
》select * from information_schema.schemata
>where schema_name='world'\G
其中show也可以展示数据库的元数据
show databases;
本文介绍如何使用SQL查询特定数据库的元数据,包括通过information_schema.schemata表获取相关信息的方法。
1.每个数据库都有一个schemata的表,保存数据库的元数据
》select * from information_schema.schemata
>where schema_name='world'\G
其中show也可以展示数据库的元数据
show databases;

被折叠的 条评论
为什么被折叠?