This is an automated email from the ASF dual-hosted git repository.

HTHou 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 7b7df85f docs: document table delete attribute filters for V2.0.12 
(#1241)
7b7df85f is described below

commit 7b7df85ffa97b116b56918c066dec1016d3caea3
Author: leto-bbq <[email protected]>
AuthorDate: Mon Nov 23 20:36:13 2026 +0800

    docs: document table delete attribute filters for V2.0.12 (#1241)
---
 src/.vuepress/sidebar/V2.0.x/en-Table.ts           |  2 +-
 src/.vuepress/sidebar/V2.0.x/zh-Table.ts           |  2 +-
 .../Table/Basic-Concept/Delete-Data_apache.md}     | 35 ++++++++++++++++------
 .../Master/Table/QuickStart/QuickStart_apache.md   |  2 +-
 .../Table/SQL-Manual/QuickStart-Only-Sql_apache.md |  2 +-
 .../Basic-Concept/Delete-Data_apache.md}           | 35 ++++++++++++++++------
 .../latest-Table/QuickStart/QuickStart_apache.md   |  2 +-
 .../SQL-Manual/QuickStart-Only-Sql_apache.md       |  2 +-
 .../{Delete-Data.md => Delete-Data_apache.md}      | 31 ++++++++++++++-----
 .../Master/Table/QuickStart/QuickStart_apache.md   |  2 +-
 .../Table/SQL-Manual/QuickStart-Only-Sql_apache.md |  2 +-
 .../{Delete-Data.md => Delete-Data_apache.md}      | 31 ++++++++++++++-----
 .../latest-Table/QuickStart/QuickStart_apache.md   |  2 +-
 .../SQL-Manual/QuickStart-Only-Sql_apache.md       |  2 +-
 14 files changed, 110 insertions(+), 42 deletions(-)

diff --git a/src/.vuepress/sidebar/V2.0.x/en-Table.ts 
b/src/.vuepress/sidebar/V2.0.x/en-Table.ts
index d8cf67dc..fdde543a 100644
--- a/src/.vuepress/sidebar/V2.0.x/en-Table.ts
+++ b/src/.vuepress/sidebar/V2.0.x/en-Table.ts
@@ -94,7 +94,7 @@ export const enSidebar = {
           text: 'Delete Data',
           collapsible: true,
           children: [
-            { text: 'Delete Data', link: 'Delete-Data' },
+            { text: 'Delete Data', link: 'Delete-Data_apache' },
             { text: 'TTL Delete Data', link: 'TTL-Delete-Data_apache' },
           ],
         },
diff --git a/src/.vuepress/sidebar/V2.0.x/zh-Table.ts 
b/src/.vuepress/sidebar/V2.0.x/zh-Table.ts
index 2a64e28e..2de49865 100644
--- a/src/.vuepress/sidebar/V2.0.x/zh-Table.ts
+++ b/src/.vuepress/sidebar/V2.0.x/zh-Table.ts
@@ -94,7 +94,7 @@ export const zhSidebar = {
           text: '数据删除',
           collapsible: true,
           children: [
-            { text: '数据删除', link: 'Delete-Data' },
+            { text: '数据删除', link: 'Delete-Data_apache' },
             { text: '数据保留时间', link: 'TTL-Delete-Data_apache' },
           ],
         },
diff --git a/src/UserGuide/latest-Table/Basic-Concept/Delete-Data.md 
b/src/UserGuide/Master/Table/Basic-Concept/Delete-Data_apache.md
similarity index 59%
rename from src/UserGuide/latest-Table/Basic-Concept/Delete-Data.md
rename to src/UserGuide/Master/Table/Basic-Concept/Delete-Data_apache.md
index b3fb9b9a..0f7422a2 100644
--- a/src/UserGuide/latest-Table/Basic-Concept/Delete-Data.md
+++ b/src/UserGuide/Master/Table/Basic-Concept/Delete-Data_apache.md
@@ -23,7 +23,7 @@
 
 ## 1. Data Deletion
 
-Data deletion in IoTDB can be achieved using the DELETE statement. You can 
specify filters based on tags and time to delete specific subsets of data.
+Data deletion in IoTDB can be achieved using the DELETE statement. You can 
specify filters based on tags, attributes (supported since V2.0.12), and time 
to delete specific subsets of data.
 
 Note:  
 When executing a conventional data deletion command (the DELETE FROM 
statement), disk space is not immediately released. Instead, the data is marked 
first, and disk space is gradually freed by background tasks.  
@@ -43,8 +43,8 @@ DELETE_CONDITION:
     | DELETE_CONDITION AND DELETE_CONDITION
     | DELETE_CONDITION OR DELETE_CONDITION
 
-SINGLE_CODITION:
-    TIME_CONDITION | ID_CONDITION
+SINGLE_CONDITION:
+    TIME_CONDITION | ID_CONDITION | ATTRIBUTE_CONDITION
 
 TIME_CONDITION:
     time TIME_OPERATOR LONG_LITERAL
@@ -54,19 +54,26 @@ TIME_OPERATOR:
 
 ID_CONDITION:
     identifier = STRING_LITERAL
+
+ATTRIBUTE_CONDITION:
+    attribute_identifier (= | != | > | >= | < | <= | LIKE) STRING_LITERAL
+    | attribute_identifier IS [NOT] NULL
+    | attribute_identifier IN (STRING_LITERAL [, STRING_LITERAL] ...)
 ```
 
 **Note:**
 
-- The `DELETE_CONDITION` can include single conditions or be a combination of 
conditions (logical operators like `AND` and `OR` are used). Currently, only 
**time conditions** and **tag conditions** are supported.
-- For **time conditions**, operators include standard comparison symbols (`<`, 
`>`, etc.).
-- For **tag conditions**, only equality (=) is allowed.
+- Conditions can filter by time, tags, and attributes, and can only be 
combined using `AND` and `OR`.
+- Time conditions support `<`, `>`, `=`, `<=`, and `>=`.
+- Tag conditions support only `=`.
+- Attribute conditions support `=`, `!=`, `IS NULL`, `IS NOT NULL`, `>`, `>=`, 
`<`, `<=`, `LIKE`, and `IN`. The left operand must be an attribute column name, 
without an expression; the right operand must be a string literal.
+- Each conjunction (a group of conditions joined by `AND`) that contains an 
attribute filter can match at most 1,000 devices. If it matches more, the 
entire DELETE statement is rejected. Add attribute filters to narrow the range, 
or remove all attribute filters and confirm the deletion range again.
 
 ### 1.2 Examples
 
-The [Example Data page](../Reference/Sample-Data.md)page provides SQL 
statements to construct table schemas and insert data. By downloading and 
executing these statements in the IoTDB CLI, you can import the data into 
IoTDB. This data can be used to test and run the example SQL queries included 
in this documentation, allowing you to reproduce the described results.
+The [Example Data page](../Reference/Sample-Data.md) provides SQL statements 
to construct table schemas and insert data. By downloading and executing these 
statements in the IoTDB CLI, you can import the data into IoTDB. This data can 
be used to test and run the example SQL queries included in this documentation, 
allowing you to reproduce the described results.
 
-#### 1.2.1 Delet  All Data from a Table
+#### 1.2.1 Delete All Data from a Table
 
 ```SQL
 DELETE FROM table1;
@@ -86,6 +93,16 @@ DELETE FROM table1
     AND device_id='101' and model_id = 'B';
 ```
 
+#### 1.2.4 Deleting Data by Attribute Condition
+
+Since V2.0.12, data can be deleted by filtering on an attribute column. For 
example, delete data in `table1` where the attribute column `model_id` is `'B'` 
and the time is no earlier than `2024-11-27 16:39:00`:
+
+```SQL
+DELETE FROM table1
+    WHERE model_id = 'B'
+      AND time >= 2024-11-27 16:39:00;
+```
+
 ## 2. Device Deletion
 
 The device deletion statement supports deleting all devices and their related 
data in the table.
@@ -105,4 +122,4 @@ DELETE DEVICES FROM tableName=qualifiedName (WHERE 
booleanExpression)?
 
 ```SQL
 DELETE DEVICES FROM table1 WHERE device_id = '101';
-```
\ No newline at end of file
+```
diff --git a/src/UserGuide/Master/Table/QuickStart/QuickStart_apache.md 
b/src/UserGuide/Master/Table/QuickStart/QuickStart_apache.md
index d3cdf9a8..5a2ebe2c 100644
--- a/src/UserGuide/Master/Table/QuickStart/QuickStart_apache.md
+++ b/src/UserGuide/Master/Table/QuickStart/QuickStart_apache.md
@@ -59,7 +59,7 @@ This guide will assist you in quickly installing and 
deploying IoTDB. You can qu
 
 4. Data Deletion: IoTDB supports two deletion methods: SQL-based deletion and 
automatic expiration deletion (TTL).
 
-   - SQL-Based Deletion: For a basic introduction, please refer to [Delete 
Data](../Basic-Concept/Delete-Data.md)
+   - SQL-Based Deletion: For a basic introduction, please refer to [Delete 
Data](../Basic-Concept/Delete-Data_apache.md)
    
    - Automatic Expiration Deletion (TTL): For a basic introduction, please see 
 [TTL Delete Data](../Basic-Concept/TTL-Delete-Data_apache.md)
 
diff --git 
a/src/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md 
b/src/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md
index 4ffbe546..0cdfd73c 100644
--- a/src/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md
+++ b/src/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md
@@ -123,4 +123,4 @@ DELETE FROM table1 WHERE time >= 2024-11-26 23:39:00  and 
time <= 2024-11-27 20:
 DELETE FROM table1;
 ```
 
-For detailed syntax description, please refer to: [Data 
Deletion](../Basic-Concept/Delete-Data.md)
\ No newline at end of file
+For detailed syntax description, please refer to: [Data 
Deletion](../Basic-Concept/Delete-Data_apache.md)
diff --git a/src/UserGuide/Master/Table/Basic-Concept/Delete-Data.md 
b/src/UserGuide/latest-Table/Basic-Concept/Delete-Data_apache.md
similarity index 59%
rename from src/UserGuide/Master/Table/Basic-Concept/Delete-Data.md
rename to src/UserGuide/latest-Table/Basic-Concept/Delete-Data_apache.md
index b3fb9b9a..0f7422a2 100644
--- a/src/UserGuide/Master/Table/Basic-Concept/Delete-Data.md
+++ b/src/UserGuide/latest-Table/Basic-Concept/Delete-Data_apache.md
@@ -23,7 +23,7 @@
 
 ## 1. Data Deletion
 
-Data deletion in IoTDB can be achieved using the DELETE statement. You can 
specify filters based on tags and time to delete specific subsets of data.
+Data deletion in IoTDB can be achieved using the DELETE statement. You can 
specify filters based on tags, attributes (supported since V2.0.12), and time 
to delete specific subsets of data.
 
 Note:  
 When executing a conventional data deletion command (the DELETE FROM 
statement), disk space is not immediately released. Instead, the data is marked 
first, and disk space is gradually freed by background tasks.  
@@ -43,8 +43,8 @@ DELETE_CONDITION:
     | DELETE_CONDITION AND DELETE_CONDITION
     | DELETE_CONDITION OR DELETE_CONDITION
 
-SINGLE_CODITION:
-    TIME_CONDITION | ID_CONDITION
+SINGLE_CONDITION:
+    TIME_CONDITION | ID_CONDITION | ATTRIBUTE_CONDITION
 
 TIME_CONDITION:
     time TIME_OPERATOR LONG_LITERAL
@@ -54,19 +54,26 @@ TIME_OPERATOR:
 
 ID_CONDITION:
     identifier = STRING_LITERAL
+
+ATTRIBUTE_CONDITION:
+    attribute_identifier (= | != | > | >= | < | <= | LIKE) STRING_LITERAL
+    | attribute_identifier IS [NOT] NULL
+    | attribute_identifier IN (STRING_LITERAL [, STRING_LITERAL] ...)
 ```
 
 **Note:**
 
-- The `DELETE_CONDITION` can include single conditions or be a combination of 
conditions (logical operators like `AND` and `OR` are used). Currently, only 
**time conditions** and **tag conditions** are supported.
-- For **time conditions**, operators include standard comparison symbols (`<`, 
`>`, etc.).
-- For **tag conditions**, only equality (=) is allowed.
+- Conditions can filter by time, tags, and attributes, and can only be 
combined using `AND` and `OR`.
+- Time conditions support `<`, `>`, `=`, `<=`, and `>=`.
+- Tag conditions support only `=`.
+- Attribute conditions support `=`, `!=`, `IS NULL`, `IS NOT NULL`, `>`, `>=`, 
`<`, `<=`, `LIKE`, and `IN`. The left operand must be an attribute column name, 
without an expression; the right operand must be a string literal.
+- Each conjunction (a group of conditions joined by `AND`) that contains an 
attribute filter can match at most 1,000 devices. If it matches more, the 
entire DELETE statement is rejected. Add attribute filters to narrow the range, 
or remove all attribute filters and confirm the deletion range again.
 
 ### 1.2 Examples
 
-The [Example Data page](../Reference/Sample-Data.md)page provides SQL 
statements to construct table schemas and insert data. By downloading and 
executing these statements in the IoTDB CLI, you can import the data into 
IoTDB. This data can be used to test and run the example SQL queries included 
in this documentation, allowing you to reproduce the described results.
+The [Example Data page](../Reference/Sample-Data.md) provides SQL statements 
to construct table schemas and insert data. By downloading and executing these 
statements in the IoTDB CLI, you can import the data into IoTDB. This data can 
be used to test and run the example SQL queries included in this documentation, 
allowing you to reproduce the described results.
 
-#### 1.2.1 Delet  All Data from a Table
+#### 1.2.1 Delete All Data from a Table
 
 ```SQL
 DELETE FROM table1;
@@ -86,6 +93,16 @@ DELETE FROM table1
     AND device_id='101' and model_id = 'B';
 ```
 
+#### 1.2.4 Deleting Data by Attribute Condition
+
+Since V2.0.12, data can be deleted by filtering on an attribute column. For 
example, delete data in `table1` where the attribute column `model_id` is `'B'` 
and the time is no earlier than `2024-11-27 16:39:00`:
+
+```SQL
+DELETE FROM table1
+    WHERE model_id = 'B'
+      AND time >= 2024-11-27 16:39:00;
+```
+
 ## 2. Device Deletion
 
 The device deletion statement supports deleting all devices and their related 
data in the table.
@@ -105,4 +122,4 @@ DELETE DEVICES FROM tableName=qualifiedName (WHERE 
booleanExpression)?
 
 ```SQL
 DELETE DEVICES FROM table1 WHERE device_id = '101';
-```
\ No newline at end of file
+```
diff --git a/src/UserGuide/latest-Table/QuickStart/QuickStart_apache.md 
b/src/UserGuide/latest-Table/QuickStart/QuickStart_apache.md
index 61134e70..6cdf17ed 100644
--- a/src/UserGuide/latest-Table/QuickStart/QuickStart_apache.md
+++ b/src/UserGuide/latest-Table/QuickStart/QuickStart_apache.md
@@ -67,7 +67,7 @@ Help me install Apache IoTDB: 
https://iotdb.apache.org/guide.md
 
 4. Data Deletion: IoTDB supports two deletion methods: SQL-based deletion and 
automatic expiration deletion (TTL).
 
-   - SQL-Based Deletion: For a basic introduction, please refer to [Delete 
Data](../Basic-Concept/Delete-Data.md)
+   - SQL-Based Deletion: For a basic introduction, please refer to [Delete 
Data](../Basic-Concept/Delete-Data_apache.md)
    
    - Automatic Expiration Deletion (TTL): For a basic introduction, please see 
 [TTL Delete Data](../Basic-Concept/TTL-Delete-Data_apache.md)
 
diff --git 
a/src/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md 
b/src/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md
index 4ffbe546..0cdfd73c 100644
--- a/src/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md
+++ b/src/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md
@@ -123,4 +123,4 @@ DELETE FROM table1 WHERE time >= 2024-11-26 23:39:00  and 
time <= 2024-11-27 20:
 DELETE FROM table1;
 ```
 
-For detailed syntax description, please refer to: [Data 
Deletion](../Basic-Concept/Delete-Data.md)
\ No newline at end of file
+For detailed syntax description, please refer to: [Data 
Deletion](../Basic-Concept/Delete-Data_apache.md)
diff --git a/src/zh/UserGuide/Master/Table/Basic-Concept/Delete-Data.md 
b/src/zh/UserGuide/Master/Table/Basic-Concept/Delete-Data_apache.md
similarity index 66%
rename from src/zh/UserGuide/Master/Table/Basic-Concept/Delete-Data.md
rename to src/zh/UserGuide/Master/Table/Basic-Concept/Delete-Data_apache.md
index e056bf0f..1a87de30 100644
--- a/src/zh/UserGuide/Master/Table/Basic-Concept/Delete-Data.md
+++ b/src/zh/UserGuide/Master/Table/Basic-Concept/Delete-Data_apache.md
@@ -23,7 +23,7 @@
 
 ## 1. 数据删除
 
-数据删除可以通过 delete 语句来完成,其中可以通过指定标签和时间的过滤条件来删除部分数据。
+数据删除可以通过 DELETE 语句来完成,其中可以通过指定标签、属性(自 V2.0.12 起支持)和时间的过滤条件来删除部分数据。
 
 注意:
 常规的数据删除命令 (DELETE FROM 语句)执行后不会立即释放磁盘空间,而是先对数据进行标记,依靠后台任务逐步地去释放空间。
@@ -43,8 +43,8 @@ DELETE_CONDITION:
     | DELETE_CONDITION AND DELETE_CONDITION
     | DELETE_CONDITION OR DELETE_CONDITION
 
-SINGLE_CODITION:
-    TIME_CONDITION | ID_CONDITION
+SINGLE_CONDITION:
+    TIME_CONDITION | ID_CONDITION | ATTRIBUTE_CONDITION
 
 TIME_CONDITION:
     time TIME_OPERATOR LONG_LITERAL
@@ -54,11 +54,18 @@ TIME_OPERATOR:
 
 ID_CONDITION:
     identifier = STRING_LITERAL
+
+ATTRIBUTE_CONDITION:
+    attribute_identifier (= | != | > | >= | < | <= | LIKE) STRING_LITERAL
+    | attribute_identifier IS [NOT] NULL
+    | attribute_identifier IN (STRING_LITERAL [, STRING_LITERAL] ...)
 ```
 
-- 当前仅支持时间条件和标签条件,条件之间仅可使用 AND 和 OR 运算符连接。
-- 对于时间条件,支持 >、<、=、<=、>= 五种运算符。
-- 对于标签条件,目前仅支持 = 运算符。
+- 条件可按时间、标签和属性过滤,条件之间仅可使用 AND 和 OR 运算符连接。
+- 时间条件支持 >、<、=、<=、>= 五种运算符。
+- 标签条件仅支持 = 运算符。
+- 属性条件支持 =、!=、IS NULL、IS NOT NULL、>、>=、<、<=、LIKE 和 
IN。左操作数必须是属性列名,不能是表达式;右操作数必须是字符串字面量。
+- 每个包含属性条件的 AND 条件组最多可匹配 1,000 台设备。如果匹配设备数超过该上限,整条 DELETE 
语句将被拒绝。可以添加属性条件缩小范围,或移除所有属性条件后重新确认删除范围。
 
 ### 1.2 示例
 
@@ -84,6 +91,16 @@ DELETE FROM table1
     AND device_id='101' and model_id = 'B';
 ```
 
+#### 1.2.4 按属性条件删除数据
+
+自 V2.0.12 起,支持按属性列过滤删除数据。例如,删除 `table1` 中属性列 `model_id` 为 `'B'` 且时间不早于 
`2024-11-27 16:39:00` 的数据:
+
+```SQL
+DELETE FROM table1
+    WHERE model_id = 'B'
+      AND time >= 2024-11-27 16:39:00;
+```
+
 ## 2. 设备删除
 
 设备删除语句支持删除表里所有设备及相关数据。
@@ -100,4 +117,4 @@ DELETE DEVICES FROM tableName=qualifiedName (WHERE 
booleanExpression)?
 
 ```SQL
 DELETE DEVICES FROM table1 WHERE device_id = '101';
-```
\ No newline at end of file
+```
diff --git a/src/zh/UserGuide/Master/Table/QuickStart/QuickStart_apache.md 
b/src/zh/UserGuide/Master/Table/QuickStart/QuickStart_apache.md
index 622df52a..dd46b6fc 100644
--- a/src/zh/UserGuide/Master/Table/QuickStart/QuickStart_apache.md
+++ b/src/zh/UserGuide/Master/Table/QuickStart/QuickStart_apache.md
@@ -59,7 +59,7 @@
 
 4. 数据删除:IoTDB 提供了两种删除方式,分别为SQL语句删除与过期自动删除(TTL)
 
-   - SQL语句删除:基本介绍请查看 [数据删除](../Basic-Concept/Delete-Data.md)
+   - SQL语句删除:基本介绍请查看 [数据删除](../Basic-Concept/Delete-Data_apache.md)
    - 过期自动删除(TTL):基本介绍请查看 [过期自动删除](../Basic-Concept/TTL-Delete-Data_apache.md)
 
 5. 其他进阶功能:除了数据库常见的写入、查询等功能外,IoTDB 还支持“数据同步”等功能,具体使用方法可参见具体文档:
diff --git 
a/src/zh/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md 
b/src/zh/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md
index 41ce7190..bdfc7e74 100644
--- a/src/zh/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md
+++ b/src/zh/UserGuide/Master/Table/SQL-Manual/QuickStart-Only-Sql_apache.md
@@ -124,4 +124,4 @@ DELETE FROM table1 WHERE time >= 2024-11-26 23:39:00  and 
time <= 2024-11-27 20:
 DELETE FROM table1;
 ```
 
-详细语法说明可参考:[数据删除](../Basic-Concept/Delete-Data.md)
+详细语法说明可参考:[数据删除](../Basic-Concept/Delete-Data_apache.md)
diff --git a/src/zh/UserGuide/latest-Table/Basic-Concept/Delete-Data.md 
b/src/zh/UserGuide/latest-Table/Basic-Concept/Delete-Data_apache.md
similarity index 66%
rename from src/zh/UserGuide/latest-Table/Basic-Concept/Delete-Data.md
rename to src/zh/UserGuide/latest-Table/Basic-Concept/Delete-Data_apache.md
index e056bf0f..1a87de30 100644
--- a/src/zh/UserGuide/latest-Table/Basic-Concept/Delete-Data.md
+++ b/src/zh/UserGuide/latest-Table/Basic-Concept/Delete-Data_apache.md
@@ -23,7 +23,7 @@
 
 ## 1. 数据删除
 
-数据删除可以通过 delete 语句来完成,其中可以通过指定标签和时间的过滤条件来删除部分数据。
+数据删除可以通过 DELETE 语句来完成,其中可以通过指定标签、属性(自 V2.0.12 起支持)和时间的过滤条件来删除部分数据。
 
 注意:
 常规的数据删除命令 (DELETE FROM 语句)执行后不会立即释放磁盘空间,而是先对数据进行标记,依靠后台任务逐步地去释放空间。
@@ -43,8 +43,8 @@ DELETE_CONDITION:
     | DELETE_CONDITION AND DELETE_CONDITION
     | DELETE_CONDITION OR DELETE_CONDITION
 
-SINGLE_CODITION:
-    TIME_CONDITION | ID_CONDITION
+SINGLE_CONDITION:
+    TIME_CONDITION | ID_CONDITION | ATTRIBUTE_CONDITION
 
 TIME_CONDITION:
     time TIME_OPERATOR LONG_LITERAL
@@ -54,11 +54,18 @@ TIME_OPERATOR:
 
 ID_CONDITION:
     identifier = STRING_LITERAL
+
+ATTRIBUTE_CONDITION:
+    attribute_identifier (= | != | > | >= | < | <= | LIKE) STRING_LITERAL
+    | attribute_identifier IS [NOT] NULL
+    | attribute_identifier IN (STRING_LITERAL [, STRING_LITERAL] ...)
 ```
 
-- 当前仅支持时间条件和标签条件,条件之间仅可使用 AND 和 OR 运算符连接。
-- 对于时间条件,支持 >、<、=、<=、>= 五种运算符。
-- 对于标签条件,目前仅支持 = 运算符。
+- 条件可按时间、标签和属性过滤,条件之间仅可使用 AND 和 OR 运算符连接。
+- 时间条件支持 >、<、=、<=、>= 五种运算符。
+- 标签条件仅支持 = 运算符。
+- 属性条件支持 =、!=、IS NULL、IS NOT NULL、>、>=、<、<=、LIKE 和 
IN。左操作数必须是属性列名,不能是表达式;右操作数必须是字符串字面量。
+- 每个包含属性条件的 AND 条件组最多可匹配 1,000 台设备。如果匹配设备数超过该上限,整条 DELETE 
语句将被拒绝。可以添加属性条件缩小范围,或移除所有属性条件后重新确认删除范围。
 
 ### 1.2 示例
 
@@ -84,6 +91,16 @@ DELETE FROM table1
     AND device_id='101' and model_id = 'B';
 ```
 
+#### 1.2.4 按属性条件删除数据
+
+自 V2.0.12 起,支持按属性列过滤删除数据。例如,删除 `table1` 中属性列 `model_id` 为 `'B'` 且时间不早于 
`2024-11-27 16:39:00` 的数据:
+
+```SQL
+DELETE FROM table1
+    WHERE model_id = 'B'
+      AND time >= 2024-11-27 16:39:00;
+```
+
 ## 2. 设备删除
 
 设备删除语句支持删除表里所有设备及相关数据。
@@ -100,4 +117,4 @@ DELETE DEVICES FROM tableName=qualifiedName (WHERE 
booleanExpression)?
 
 ```SQL
 DELETE DEVICES FROM table1 WHERE device_id = '101';
-```
\ No newline at end of file
+```
diff --git a/src/zh/UserGuide/latest-Table/QuickStart/QuickStart_apache.md 
b/src/zh/UserGuide/latest-Table/QuickStart/QuickStart_apache.md
index 8b9887f8..09fadedd 100644
--- a/src/zh/UserGuide/latest-Table/QuickStart/QuickStart_apache.md
+++ b/src/zh/UserGuide/latest-Table/QuickStart/QuickStart_apache.md
@@ -67,7 +67,7 @@
 
 4. 数据删除:IoTDB 提供了两种删除方式,分别为SQL语句删除与过期自动删除(TTL)
 
-   - SQL语句删除:基本介绍请查看 [数据删除](../Basic-Concept/Delete-Data.md)
+   - SQL语句删除:基本介绍请查看 [数据删除](../Basic-Concept/Delete-Data_apache.md)
    - 过期自动删除(TTL):基本介绍请查看 [过期自动删除](../Basic-Concept/TTL-Delete-Data_apache.md)
 
 5. 其他进阶功能:除了数据库常见的写入、查询等功能外,IoTDB 还支持“数据同步”等功能,具体使用方法可参见具体文档:
diff --git 
a/src/zh/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md 
b/src/zh/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md
index 41ce7190..bdfc7e74 100644
--- a/src/zh/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md
+++ b/src/zh/UserGuide/latest-Table/SQL-Manual/QuickStart-Only-Sql_apache.md
@@ -124,4 +124,4 @@ DELETE FROM table1 WHERE time >= 2024-11-26 23:39:00  and 
time <= 2024-11-27 20:
 DELETE FROM table1;
 ```
 
-详细语法说明可参考:[数据删除](../Basic-Concept/Delete-Data.md)
+详细语法说明可参考:[数据删除](../Basic-Concept/Delete-Data_apache.md)

Reply via email to