docs: fix sum() in en/25-application/_03-immigrate.md
This commit is contained in:
parent
0438229f82
commit
37fa70c487
|
@ -338,7 +338,7 @@ Remark:
|
||||||
Equivalent function: sum
|
Equivalent function: sum
|
||||||
|
|
||||||
```sql
|
```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.
|
Note: This function has no interpolation requirements, so it can be directly calculated.
|
||||||
|
|
|
@ -371,7 +371,7 @@ Select min(val) from table_name
|
||||||
等效函数:sum
|
等效函数:sum
|
||||||
|
|
||||||
```sql
|
```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)
|
||||||
```
|
```
|
||||||
|
|
||||||
备注:该函数无插值需求,因此可用直接计算。
|
备注:该函数无插值需求,因此可用直接计算。
|
||||||
|
|
Loading…
Reference in New Issue