> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# SHOW TABLE STATUS

> SHOW TABLE STATUS displays basic information about tables in a database.

## 功能

该语句用于查看 Table 的一些信息。

**Tip**

该操作不需要权限。

## 语法

```sql theme={null}
SHOW TABLE STATUS
[FROM db] [LIKE "pattern"]
```

> **说明**
>
> 该语句主要用于兼容 MySQL 语法，目前仅显示 Comment 等少量信息。

## 示例

1. 查看当前数据库下所有表的信息

   ```SQL theme={null}
   SHOW TABLE STATUS;
   ```

2. 查看指定数据库下，名称包含 example 的表的信息

   ```SQL theme={null}
   SHOW TABLE STATUS FROM db LIKE "%example%";
   ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.