Skip to content

Commit

Permalink
docs: update sql docs (#3126)
Browse files Browse the repository at this point in the history
  • Loading branch information
dl239 committed Mar 22, 2023
1 parent c6e0a0c commit 7d429c6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/en/reference/sql/dml/DELETE_STATEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ TableName ::=

**Description**

`DELETE` statement will delete all data from the first index of specific column value.

- `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 and the condition can only be `=`.

## Examples

Expand Down
3 changes: 3 additions & 0 deletions docs/en/reference/sql/dml/INSERT_STATEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ value_list:
value [, value] ...
```

**Description**
- `INSERT` statement only works in online execute mode

## Examples

```SQL
Expand Down
3 changes: 2 additions & 1 deletion docs/zh/openmldb_sql/dml/DELETE_STATEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ TableName ::=

**说明**

`DELETE` 语句删除指定列的索引下面对应值的所有数据。
- `DELETE` 语句删除在线表指定列的索引下面对应值的所有数据
- `WHERE` 指定的筛选列必须是索引列并且只能是等于

## Examples

Expand Down
3 changes: 3 additions & 0 deletions docs/zh/openmldb_sql/dml/INSERT_STATEMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ value_list:
value [, value] ...
```

**说明**
- `INSERT` 只能用在在线模式

## Examples

```SQL
Expand Down

0 comments on commit 7d429c6

Please sign in to comment.