Created
August 18, 2019 09:30
-
-
Save vladbatushkov/03a2b91336f25d80fcda51b7f77cec97 to your computer and use it in GitHub Desktop.
Top 10 persons with highest number of calls from Bangkok
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (c:City { name: "Bangkok" })<-[:FROM]-(p1:Person)-[:OUT]->(cc:Call)<-[:IN]-(p2:Person) | |
RETURN p1.name, count(cc) as total | |
ORDER BY total DESC | |
LIMIT 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment