neo4j count row group by in match query

Match (b:UsrInfo{EmailID:”demo@gmail.com”})-[:isGroup]->(a:GroupInfo)-[r:inGroup]->(c) return count(c),a.Name

Output :

showing all group list and every group member’s quantity.

Advertisements