mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Update docs/en/sql-reference/aggregate-functions/reference/intervalLengthSum.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
This commit is contained in:
parent
33f14ad6e2
commit
1c1b65b95b
@ -36,7 +36,9 @@ intervalLengthSum(start, end)
|
|||||||
└────┴───────┴─────┘
|
└────┴───────┴─────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
In this example, the arguments of the `Float32` type are used. In this case, the function returns a value of the `Float64` type:
|
In this example, the arguments of the Float32 type are used. The function returns a value of the Float64 type.
|
||||||
|
|
||||||
|
Query:
|
||||||
|
|
||||||
``` sql
|
``` sql
|
||||||
SELECT id, intervalLengthSum(start, end), toTypeName(intervalLengthSum(start, end)) FROM fl_interval GROUP BY id ORDER BY id;
|
SELECT id, intervalLengthSum(start, end), toTypeName(intervalLengthSum(start, end)) FROM fl_interval GROUP BY id ORDER BY id;
|
||||||
|
Loading…
Reference in New Issue
Block a user