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

docs: fix sum() in en/25-application/_03-immigrate.md
This commit is contained in:
wade zhang 2023-07-27 19:06:08 +08:00 committed by GitHub
commit 5e32b9b5ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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)
```
备注:该函数无插值需求,因此可用直接计算。