The sum function is an aggregation function, it rolls all rows together and returns the total sum of the values submitted in the parameter.
Return Type | Number |
---|---|
Aggregates | Yes |
Flags | None |
Parameters: sum(value)
Name | Type | Description |
---|---|---|
value | Number | The number which is supposed to be summed. |
Draws a number representing the total seconds all users spent on all pages:
draw number using sum(ended - captured) from @views