未验证 提交 5e32b9b5 编写于 作者: W wade zhang 提交者: GitHub

Merge pull request #22219 from taosdata/docs/sangshuduo/fix-official-docs

docs: fix sum() in en/25-application/_03-immigrate.md
......@@ -338,7 +338,7 @@ Remark:
Equivalent function: sum
```sql
Select max(value) from (select first(val) value from table_name interval(10s) fill(linear)) interval(10s)
Select sum(value) from (select first(val) value from table_name interval(10s) fill(linear)) interval(10s)
```
Note: This function has no interpolation requirements, so it can be directly calculated.
......
......@@ -371,7 +371,7 @@ Select min(val) from table_name
等效函数:sum
```sql
Select max(value) from (select first(val) value from table_name interval(10s) fill(linear)) interval(10s)
Select sum(value) from (select first(val) value from table_name interval(10s) fill(linear)) interval(10s)
```
备注:该函数无插值需求,因此可用直接计算。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册