I have multipart polylines in an ST_GEOMETRY feature class (in an Oracle 18c EGDB).
Using SQL, I want to get the sum of the M-values of each polyline.
For example, for the following multipart line, the calculation would be: 11.18 + 33.54 + 43.54 = 88.26
(The M-sum is not to be confused with the length of the line.)

How can I do that using SQL?