[discrete]
[[esql-mv_sum]]
=== `MV_SUM`

[source,esql]
----
MV_SUM(v)
----

*Parameters*

`v`::
Multivalue expression.

*Description*

Converts a multivalued column into a single valued column containing the sum
of all of the values.

include::types/mv_sum.asciidoc[]

*Example*

[source.merge.styled,esql]
----
include::{esql-specs}/math.csv-spec[tag=mv_sum]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/math.csv-spec[tag=mv_sum-result]
|===
