Skip to content

Commit

Permalink
Update DELETE_STATEMENT.md update new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliezza authored Nov 29, 2023
1 parent c38e174 commit c99ca42
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/en/openmldb_sql/dml/DELETE_STATEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ TableName ::=
```

**Description**

- `DELETE` statement will delete all data from the index of specific column value of online table.
- The filter columns sepcified by `WHERE` must be an index column. if it is a key column, only `=` can be used.
- `DELETE` statement will delete data fulfilling specific requirements in online table, not all data from the index. Only index related to where condition will be deleted. For more examples please check [function_boundary](../../quickstart/function_boundary.md#delete).
- The filter columns specified by `WHERE` must be an index column. if it is a key column, only `=` can be used.

## Examples

Expand All @@ -25,4 +24,4 @@ DELETE FROM t1 WHERE col1 = 'aaaa' and ts_col = 1687145994000;
DELETE FROM t1 WHERE col1 = 'aaaa' and ts_col > 1687059594000 and ts_col < 1687145994000;

DELETE FROM t1 WHERE ts_col > 1687059594000 and ts_col < 1687145994000;
```
```

0 comments on commit c99ca42

Please sign in to comment.