docs: fix sum() in en/25-application/_03-immigrate.md

This commit is contained in:
Shuduo Sang 2023-07-27 18:42:41 +08:00
parent 0438229f82
commit 37fa70c487
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)
```
备注:该函数无插值需求,因此可用直接计算。