Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Neo4j 实例中拥有“玩家”节点,我有兴趣找到所有具有相同名称和不同球衣号码的玩家。基本上是球员姓名和球员球衣号码的 SQL group BY。
有小费吗?
谢谢
你想要的聚合可以通过collect来实现。
START n = node(*) RETURN n.name, collect(n.tshirt_number)
我做了一个小例子图:
http://console.neo4j.org/r/1vfeug