I am stuck with trying to find a solution to my problem.

Here's my code :

MATCH(p:Product)

WITH sum(p.unitsInStock) as SommeUnits, p.supplierID as Supplier, p.reorderLevel as ReordLevel

MERGE(reord:Product {productName : "TotalReord", unitsInStock : SommeUnits})

RETURN ReordLevel,Supplier, SommeUnits

ORDER BY ReordLevel

What I actually want to do is to display the SommeUnits for all ReordLevel and the SommeUnits for every ReordLevel (example : the sum of all Units for ReordLevel 25, then for 30, etc), but my code it isn't complete and i don't know how to figure it out.