information_schema.tables
官网文档
tables 本身是一个视图,**包含当前数据库中定义的所有表和视图。**只显示当前用户可以访问的那些表和视图
Name | Description |
---|---|
table_catalog | 包含这个表或视图的数据库的名称(总是当前数据库) |
table_schema | 模式 |
table_name | 表名 |
table_type | 表类型:对于持久基表是BASE table(普通表类型),对于视图是VIEW,对于外部表是FOREIGN table,对于临时表是LOCAL TEMPORARY |
… | … |