This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new 319ac024 The update of table model measurement point values can be
achieved th… (#501)
319ac024 is described below
commit 319ac0241b0a80ddb92822d2e6e024f48b6f4a6c
Author: W1y1r <[email protected]>
AuthorDate: Tue Jan 7 10:47:26 2025 +0800
The update of table model measurement point values can be achieved th…
(#501)
---
src/zh/UserGuide/Master/Table/Basic-Concept/Query-Data.md | 2 +-
src/zh/UserGuide/Master/Table/Basic-Concept/Write-Updata-Data.md | 3 ++-
src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Query-Data.md | 2 +-
src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Write-Updata-Data.md | 3 ++-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/zh/UserGuide/Master/Table/Basic-Concept/Query-Data.md
b/src/zh/UserGuide/Master/Table/Basic-Concept/Query-Data.md
index a2989c50..169f3590 100644
--- a/src/zh/UserGuide/Master/Table/Basic-Concept/Query-Data.md
+++ b/src/zh/UserGuide/Master/Table/Basic-Concept/Query-Data.md
@@ -252,7 +252,7 @@ It costs 0.101s
### 3.7 排序&分页
-**示例:查询表中温度降序排列且空值(NULL)排最后的记录,跳过前 2 条,只返回接下来的 8 条记录。**
+**示例:查询表中湿度降序排列且空值(NULL)排最后的记录,跳过前 2 条,只返回接下来的 8 条记录。**
```SQL
IoTDB> SELECT time, temperature, humidity
diff --git a/src/zh/UserGuide/Master/Table/Basic-Concept/Write-Updata-Data.md
b/src/zh/UserGuide/Master/Table/Basic-Concept/Write-Updata-Data.md
index aea540d5..bb618a79 100644
--- a/src/zh/UserGuide/Master/Table/Basic-Concept/Write-Updata-Data.md
+++ b/src/zh/UserGuide/Master/Table/Basic-Concept/Write-Updata-Data.md
@@ -190,11 +190,12 @@ updateAssignment
;
```
-1. 更新操作仅允许修改属性(ATTRIBUTE)列的值
+1. `update`语句仅允许修改属性(ATTRIBUTE)列的值。
2. `WHERE` 的规则:
- 范围仅限于标签列(TAG)和属性列(ATTRIBUTE),不允许涉及测点列(FIELD)和时间列(TIME)。
- 不允许使用聚合函数
3. 执行 SET 操作后,赋值表达式的结果应当是字符串类型,且其使用的限制应与 WHERE 子句中的表达式相同。
+4. 属性(ATTRIBUTE)列以及测点(FIELD)列的值也可通过`insert`语句来实现指定行的更新。
**示例:**
diff --git a/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Query-Data.md
b/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Query-Data.md
index a2989c50..169f3590 100644
--- a/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Query-Data.md
+++ b/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Query-Data.md
@@ -252,7 +252,7 @@ It costs 0.101s
### 3.7 排序&分页
-**示例:查询表中温度降序排列且空值(NULL)排最后的记录,跳过前 2 条,只返回接下来的 8 条记录。**
+**示例:查询表中湿度降序排列且空值(NULL)排最后的记录,跳过前 2 条,只返回接下来的 8 条记录。**
```SQL
IoTDB> SELECT time, temperature, humidity
diff --git a/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Write-Updata-Data.md
b/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Write-Updata-Data.md
index aea540d5..bb618a79 100644
--- a/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Write-Updata-Data.md
+++ b/src/zh/UserGuide/V2.0.1/Table/Basic-Concept/Write-Updata-Data.md
@@ -190,11 +190,12 @@ updateAssignment
;
```
-1. 更新操作仅允许修改属性(ATTRIBUTE)列的值
+1. `update`语句仅允许修改属性(ATTRIBUTE)列的值。
2. `WHERE` 的规则:
- 范围仅限于标签列(TAG)和属性列(ATTRIBUTE),不允许涉及测点列(FIELD)和时间列(TIME)。
- 不允许使用聚合函数
3. 执行 SET 操作后,赋值表达式的结果应当是字符串类型,且其使用的限制应与 WHERE 子句中的表达式相同。
+4. 属性(ATTRIBUTE)列以及测点(FIELD)列的值也可通过`insert`语句来实现指定行的更新。
**示例:**