我是Neo4j的新手,在以下数据集上显示使用neo4j得分最高的前五名球队时遇到了问题。问题是每个球队的得分都最高,即6请帮我
下面有一些数据。
Round,Date,Team 1,FT,HT,Team 2
1,(Fri) 11 Aug 2017 (32),Arsenal FC,4-3,2-2,Leicester City FC
1,(Sat) 12 Aug 2017 (32),Brighton & Hove Albion FC,0-2,0-0,Manchester City FC
1,(Sat) 12 Aug 2017 (32),Chelsea FC,2-3,0-3,Burnley FC
1,(Sat) 12 Aug 2017 (32),Crystal Palace FC,0-3,0-2,Huddersfield Town AFC
1,(Sat) 12 Aug 2017 (32),Everton FC,1-0,1-0,Stoke City FC
1,(Sat) 12 Aug 2017 (32),Southampton FC,0-0,0-0,Swansea City AFC
1,(Sat) 12 Aug 2017 (32),Watford FC,3-3,2-1,Liverpool FC
1,(Sat) 12 Aug 2017 (32),West Bromwich Albion FC,1-0,1-0,AFC Bournemouth
1,(Sun) 13 Aug 2017 (32),Manchester United FC,4-0,1-0,West Ham United FC
1,(Sun) 13 Aug 2017 (32),Newcastle United FC,0-2,0-0,Tottenham Hotspur FC
2,(Sat) 19 Aug 2017 (33),AFC Bournemouth,0-2,0-0,Watford FC
2,(Sat) 19 Aug 2017 (33),Burnley FC,0-1,0-0,West Bromwich Albion FC
我发现排名前五名的“团队2”得分高于 组1并通过将列数据分为数组和 比较
Score Ft[0] < Score Ft[2]
。然后将五个不同的团队同一个 得分出现。
t2.key s
"Southampton FC" 6
"West Bromwich Albion FC" 6
"Watford FC" 6
"Brighton & Hove Albion FC" 6
"Crystal Palace FC" 6