I can sum a property of all the node given from a cypher query. But ¿is it posible to sum two properties of the same node?
Example:
MATCH (n: Node
) WITH n.a + n.b as sum RETURN sum
UPDATE: Resolve in other comments, but if you want to get a sum of multiple properties of all nodes you can do:
MATCH (n:Node)
WITH sum(n.a + n.b) AS sum
RETURN sum