Created
June 18, 2014 19:07
-
-
Save amencarini/6945cfd0da525eb42e7d to your computer and use it in GitHub Desktop.
Neo4j World Cup: Top scorers for England
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 (s:Squad)--(player:Player)--()-[:SCORED_GOAL]->(g) | |
where s.name =~ "England.*" | |
return player.name, count(distinct g) as count | |
order by count desc | |
limit 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment