This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new dae41d4a3c9 improve(distqlDocs): Improve the documentation of
DisqlSQl. (#18866)
dae41d4a3c9 is described below
commit dae41d4a3c9b7e2357f82540baf047884c563e91
Author: Jieker <[email protected]>
AuthorDate: Tue Jul 5 17:55:44 2022 +0800
improve(distqlDocs): Improve the documentation of DisqlSQl. (#18866)
---
.../shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md | 2 +-
.../shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md | 2 +-
.../distsql/syntax/rql/rule-query/db-discovery.cn.md | 6 +++---
.../distsql/syntax/rql/rule-query/db-discovery.en.md | 6 +++---
.../distsql/syntax/rql/rule-query/encrypt.cn.md | 8 ++++----
.../distsql/syntax/rql/rule-query/encrypt.en.md | 8 ++++----
.../distsql/syntax/rql/rule-query/readwrite-splitting.cn.md | 6 +++---
.../distsql/syntax/rql/rule-query/readwrite-splitting.en.md | 6 +++---
.../distsql/syntax/rql/rule-query/shadow.cn.md | 8 ++++----
.../distsql/syntax/rql/rule-query/shadow.en.md | 8 ++++----
.../distsql/syntax/rql/rule-query/sharding.cn.md | 2 +-
.../distsql/syntax/rql/rule-query/sharding.en.md | 2 +-
.../distsql/syntax/rql/rule-query/single-table.cn.md | 4 ++--
.../distsql/syntax/rql/rule-query/single-table.en.md | 4 ++--
14 files changed, 36 insertions(+), 36 deletions(-)
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
index 8e30caa0031..fa56fb5e551 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.cn.md
@@ -23,7 +23,7 @@ SHOW DATABASE RESOURCES [FROM databaseName]
## 示例
```sql
-mysql> show database resources;
+mysql> SHOW DATABASE RESOURCES;
+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
| name | type | host | port | db | attribute
|
+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
index 758276f1453..26facfd1c89 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/resource-query.en.md
@@ -23,7 +23,7 @@ SHOW DATABASE RESOURCES [FROM databaseName]
## Example
```sql
-mysql> show database resources;
+mysql> SHOW DATABASE RESOURCES;
+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
| name | type | host | port | db | attribute
|
+------+-------+-----------+------+------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.cn.md
index 86be4b37763..3943cf26e90 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.cn.md
@@ -45,7 +45,7 @@ SHOW DB_DISCOVERY HEARTBEATS [FROM databaseName]
*DB Discovery Rule*
```sql
-mysql> show db_discovery rules;
+mysql> SHOW DB_DISCOVERY RULES;
+----------------------+-------------------+--------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+
| group_name | data_source_names | primary_data_source_name |
discovery_type
| discovery_heartbeat
|
+----------------------+-------------------+--------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+
@@ -57,7 +57,7 @@ mysql> show db_discovery rules;
*DB Discovery Type*
```sql
-mysql> show db_discovery types;
+mysql> SHOW DB_DISCOVERY TYPES;
+--------------------------+------------+----------------------------+
| name | type | props |
+--------------------------+------------+----------------------------+
@@ -69,7 +69,7 @@ mysql> show db_discovery types;
*DB Discovery Heartbeat*
```sql
-mysql> show db_discovery heartbeats;
+mysql> SHOW DB_DISCOVERY HEARTBEATS;
+--------------------------------+---------------------------------+
| name | props |
+--------------------------------+---------------------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.en.md
index 2448d93dc22..4e0dcb5e35e 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/db-discovery.en.md
@@ -45,7 +45,7 @@ SHOW DB_DISCOVERY HEARTBEATS [FROM databaseName]
*DB Discovery Rule*
```sql
-mysql> show db_discovery rules;
+mysql> SHOW DB_DISCOVERY RULES;
+----------------------+-------------------+--------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+
| group_name | data_source_names | primary_data_source_name |
discovery_type
| discovery_heartbeat
|
+----------------------+-------------------+--------------------------+-----------------------------------------------------------------------------------+------------------------------------------------------------------------------+
@@ -57,7 +57,7 @@ mysql> show db_discovery rules;
*DB Discovery Type*
```sql
-mysql> show db_discovery types;
+mysql> SHOW DB_DISCOVERY TYPES;
+---------------------------+------------+------------------------------+
| name | type | props |
+---------------------------+------------+------------------------------+
@@ -69,7 +69,7 @@ mysql> show db_discovery types;
*DB Discovery Heartbeat*
```sql
-mysql> show db_discovery heartbeats;
+mysql> SHOW DB_DISCOVERY HEARTBEATS;
+--------------------------------+---------------------------------+
| name | props |
+--------------------------------+---------------------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.cn.md
index b5f4b2c5ffd..851765ea0e6 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.cn.md
@@ -8,7 +8,7 @@ weight = 5
```sql
SHOW ENCRYPT RULES [FROM databaseName]
-SHOW ENCRYPT TABLE RULE tableName [from databaseName]
+SHOW ENCRYPT TABLE RULE tableName [FROM databaseName]
```
- 支持查询所有的数据加密规则和指定逻辑表名查询。
@@ -33,7 +33,7 @@ SHOW ENCRYPT TABLE RULE tableName [from databaseName]
*显示加密规则*
```sql
-mysql> show encrypt rules from encrypt_db;
+mysql> SHOW ENCRYPT RULES FROM encrypt_db;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
| table | logic_column | logic_data_type | cipher_column |
cipher_data_type | plain_column | plain_data_type | assisted_query_column |
assisted_query_data_type | encryptor_type | encryptor_props |
query_with_cipher_column |
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
@@ -47,7 +47,7 @@ mysql> show encrypt rules from encrypt_db;
*显示加密表规则表名*
```sql
-mysql> show encrypt table rule t_encrypt;
+mysql> SHOW ENCRYPT TABLE RULE t_encrypt;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
| table | logic_column | logic_data_type | cipher_column |
cipher_data_type | plain_column | plain_data_type | assisted_query_column |
assisted_query_data_type | encryptor_type | encryptor_props |
query_with_cipher_column |
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
@@ -56,7 +56,7 @@ mysql> show encrypt table rule t_encrypt;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
2 rows in set (0.01 sec)
-mysql> show encrypt table rule t_encrypt from encrypt_db;
+mysql> SHOW ENCRYPT TABLE RULE t_encrypt FROM encrypt_db;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
| table | logic_column | logic_data_type | cipher_column |
cipher_data_type | plain_column | plain_data_type | assisted_query_column |
assisted_query_data_type | encryptor_type | encryptor_props |
query_with_cipher_column |
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.en.md
index d16dc460e5c..1d4100642ad 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/encrypt.en.md
@@ -8,7 +8,7 @@ weight = 5
```sql
SHOW ENCRYPT RULES [FROM databaseName]
-SHOW ENCRYPT TABLE RULE tableName [from databaseName]
+SHOW ENCRYPT TABLE RULE tableName [FROM databaseName]
```
- Support to query all data encryption rules and specify logical table name
query
@@ -33,7 +33,7 @@ SHOW ENCRYPT TABLE RULE tableName [from databaseName]
*Show Encrypt Rules*
```sql
-mysql> show encrypt rules from encrypt_db;
+mysql> SHOW ENCRYPT RULES FROM encrypt_db;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
| table | logic_column | logic_data_type | cipher_column |
cipher_data_type | plain_column | plain_data_type | assisted_query_column |
assisted_query_data_type | encryptor_type | encryptor_props |
query_with_cipher_column |
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
@@ -47,7 +47,7 @@ mysql> show encrypt rules from encrypt_db;
*Show Encrypt Table Rule Table Name*
```sql
-mysql> show encrypt table rule t_encrypt;
+mysql> SHOW ENCRYPT TABLE RULE t_encrypt;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
| table | logic_column | logic_data_type | cipher_column |
cipher_data_type | plain_column | plain_data_type | assisted_query_column |
assisted_query_data_type | encryptor_type | encryptor_props |
query_with_cipher_column |
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
@@ -56,7 +56,7 @@ mysql> show encrypt table rule t_encrypt;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
2 rows in set (0.01 sec)
-mysql> show encrypt table rule t_encrypt from encrypt_db;
+mysql> SHOW ENCRYPT TABLE RULE t_encrypt FROM encrypt_db;
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
| table | logic_column | logic_data_type | cipher_column |
cipher_data_type | plain_column | plain_data_type | assisted_query_column |
assisted_query_data_type | encryptor_type | encryptor_props |
query_with_cipher_column |
+-------------+--------------+-----------------+---------------+------------------+--------------+-----------------+-----------------------+--------------------------+----------------+-------------------------+--------------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.cn.md
index 0ea221424ae..c8b4ce71f26 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.cn.md
@@ -25,7 +25,7 @@ SHOW READWRITE_SPLITTING RULES [FROM databaseName]
*静态读写分离规则*
```sql
-mysql> show readwrite_splitting rules;
+mysql> SHOW READWRITE_SPLITTING RULES;
+------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
| name | auto_aware_data_source_name | write_data_source_name |
read_data_source_names | load_balancer_type | load_balancer_props |
+------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
@@ -36,7 +36,7 @@ mysql> show readwrite_splitting rules;
*动态读写分离规则*
```sql
-mysql> show readwrite_splitting rules from readwrite_splitting_db;
+mysql> SHOW READWRITE_SPLITTING RULES FROM readwrite_splitting_db;
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
| name | auto_aware_data_source_name | write_data_source_query_enabled
| write_data_source_name | read_data_source_names | load_balancer_type |
load_balancer_props |
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
@@ -47,7 +47,7 @@ mysql> show readwrite_splitting rules from
readwrite_splitting_db;
*静态读写分离规则和动态读写分离规则*
```sql
-mysql> show readwrite_splitting rules from readwrite_splitting_db;
+mysql> SHOW READWRITE_SPLITTING RULES FROM readwrite_splitting_db;
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
| name | auto_aware_data_source_name | write_data_source_query_enabled
| write_data_source_name | read_data_source_names | load_balancer_type |
load_balancer_props |
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.en.md
index 8f2a471d6c0..a9dca669b39 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/readwrite-splitting.en.md
@@ -25,7 +25,7 @@ SHOW READWRITE_SPLITTING RULES [FROM databaseName]
*Static Readwrite Splitting Rules*
```sql
-mysql> show readwrite_splitting rules;
+mysql> SHOW READWRITE_SPLITTING RULES;
+------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
| name | auto_aware_data_source_name | write_data_source_name |
read_data_source_names | load_balancer_type | load_balancer_props |
+------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
@@ -36,7 +36,7 @@ mysql> show readwrite_splitting rules;
*Dynamic Readwrite Splitting Rules*
```sql
-mysql> show readwrite_splitting rules from readwrite_splitting_db;
+mysql> SHOW READWRITE_SPLITTING RULES FROM readwrite_splitting_db;
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
| name | auto_aware_data_source_name | write_data_source_query_enabled
| write_data_source_name | read_data_source_names | load_balancer_type |
load_balancer_props |
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
@@ -47,7 +47,7 @@ mysql> show readwrite_splitting rules from
readwrite_splitting_db;
*Static Readwrite Splitting Rules And Dynamic Readwrite Splitting Rules*
```sql
-mysql> show readwrite_splitting rules from readwrite_splitting_db;
+mysql> SHOW READWRITE_SPLITTING RULES FROM readwrite_splitting_db;
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
| name | auto_aware_data_source_name | write_data_source_query_enabled
| write_data_source_name | read_data_source_names | load_balancer_type |
load_balancer_props |
+--------------+-----------------------------+------------------------+------------------------+--------------------+---------------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.cn.md
index f36c7afa213..3afb44dd869 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.cn.md
@@ -57,7 +57,7 @@ shadowRule:
*SHOW SHADOW RULES*
```sql
-mysql> show shadow rules;
+mysql> SHOW SHADOW RULES;
+--------------------+-------------+-------------+--------------+
| rule_name | source_name | shadow_name | shadow_table |
+--------------------+-------------+-------------+--------------+
@@ -69,7 +69,7 @@ mysql> show shadow rules;
*SHOW SHADOW RULE ruleName*
```sql
-mysql> show shadow rule shadow_rule_1;
+mysql> SHOW SHADOW RULE shadow_rule_1;
+------------------+-------------+-------------+--------------+
| rule_name | source_name | shadow_name | shadow_table |
+------------------+-------------+-------------+--------------+
@@ -81,7 +81,7 @@ mysql> show shadow rule shadow_rule_1;
*SHOW SHADOW TABLE RULES*
```sql
-mysql> show shadow table rules;
+mysql> SHOW SHADOW TABLE RULES;
+--------------+--------------------------------------------------------------------------------+
| shadow_table | shadow_algorithm_name
|
+--------------+--------------------------------------------------------------------------------+
@@ -93,7 +93,7 @@ mysql> show shadow table rules;
*SHOW SHADOW ALGORITHMS*
```sql
-mysql> show shadow algorithms;
+mysql> SHOW SHADOW ALGORITHMS;
+-------------------------+--------------------+-------------------------------------------+----------------+
| shadow_algorithm_name | type | props
| is_default |
+-------------------------+--------------------+-------------------------------------------+----------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.en.md
index f73d5325908..b57d4d462fb 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/shadow.en.md
@@ -57,7 +57,7 @@ shadowRule:
*SHOW SHADOW RULES*
```sql
-mysql> show shadow rules;
+mysql> SHOW SHADOW RULES;
+--------------------+-------------+-------------+--------------+
| rule_name | source_name | shadow_name | shadow_table |
+--------------------+-------------+-------------+--------------+
@@ -69,7 +69,7 @@ mysql> show shadow rules;
*SHOW SHADOW RULE ruleName*
```sql
-mysql> show shadow rule shadow_rule_1;
+mysql> SHOW SHADOW RULE shadow_rule_1;
+------------------+-------------+-------------+--------------+
| rule_name | source_name | shadow_name | shadow_table |
+------------------+-------------+-------------+--------------+
@@ -81,7 +81,7 @@ mysql> show shadow rule shadow_rule_1;
*SHOW SHADOW TABLE RULES*
```sql
-mysql> show shadow table rules;
+mysql> SHOW SHADOW TABLE RULES;
+--------------+--------------------------------------------------------------------------------+
| shadow_table | shadow_algorithm_name
|
+--------------+--------------------------------------------------------------------------------+
@@ -93,7 +93,7 @@ mysql> show shadow table rules;
*SHOW SHADOW ALGORITHMS*
```sql
-mysql> show shadow algorithms;
+mysql> SHOW SHADOW ALGORITHMS;
+-------------------------+--------------------+-------------------------------------------+----------------+
| shadow_algorithm_name | type | props
| is_default |
+-------------------------+--------------------+-------------------------------------------+----------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.cn.md
index 0ad1395072c..ef90de35bf7 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.cn.md
@@ -26,7 +26,7 @@ SHOW SHARDING TABLE RULES USED KEY GENERATOR keyGeneratorName
[FROM databaseName
SHOW DEFAULT SHARDING STRATEGY
-SHOW SHARDING TABLE NODES;
+SHOW SHARDING TABLE NODES
tableRule:
RULE tableName
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.en.md
index 0a439def0c0..e319bbc37e6 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/sharding.en.md
@@ -26,7 +26,7 @@ SHOW SHARDING TABLE RULES USED KEY GENERATOR keyGeneratorName
[FROM databaseName
SHOW DEFAULT SHARDING STRATEGY
-SHOW SHARDING TABLE NODES;
+SHOW SHARDING TABLE NODES
tableRule:
RULE tableName
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.cn.md
index 3650b59727e..8deec84eef3 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.cn.md
@@ -35,7 +35,7 @@ tableRule:
*single table rules*
```sql
-sql> show single table rules;
+sql> SHOW SINGLE TABLES RULES;
+---------+---------------+
| name | resource_name |
+---------+---------------+
@@ -46,7 +46,7 @@ sql> show single table rules;
*single tables*
```sql
-mysql> show single tables;
+mysql> SHOW SINGLE TABLES;
+--------------+---------------+
| table_name | resource_name |
+--------------+---------------+
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.en.md
index 852dfbb88d5..d75dbf01209 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/rule-query/single-table.en.md
@@ -35,7 +35,7 @@ tableRule:
*single table rules*
```sql
-sql> show single table rules;
+sql> SHOW SINGLE TABLES RULES;
+---------+---------------+
| name | resource_name |
+---------+---------------+
@@ -46,7 +46,7 @@ sql> show single table rules;
*single tables*
```sql
-mysql> show single tables;
+mysql> SHOW SINGLE TABLES;
+--------------+---------------+
| table_name | resource_name |
+--------------+---------------+