neo4j group by and sum values

Viewed 1857

I have a cypher query that produces the following result:

A  1
A  2
A  3
B  1
B  2

And I would like to group the same values of the first property and sum them up so the result would be:

A  6
B  3
1 Answers
Related