0

クエリ

START t=node(17) MATCH player-[:PLAYED_WITH_TEAM]->t-[:CONTESTED_IN]->league WITH player.name as playerName、league.startDate as startDate、league.name as LeagueName ORDER BY startDate RETURN playerName, collect (リーグ名);

NeoClipse エラー

ここに画像の説明を入力

NeoShell 出力

neo4j-sh (0)$ START t=node(17)
> MATCH player-[:PLAYED_WITH_TEAM]->t-[:CONTESTED_IN]->league
> WITH player.name as playerName, league.startDate as startDate, league.name as leagueName
> ORDER BY startDate
> RETURN playerName, collect(leagueName);
+----------------------------------------------------------------------------------------------------------+
| playerName            | collect(leagueName)                                                              |
+----------------------------------------------------------------------------------------------------------+
| "Satish"              | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Aravind Yarram"      | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Vijay Rasale"        | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Abdul Yaser"         | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Selladurai Velusamy" | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Sandeep"             | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
| "Ashish Abraham"      | ["Sri Bala Bharathi 2012 June League","Sri Bala Bharathi 2012 September League"] |
+----------------------------------------------------------------------------------------------------------+
4

0 に答える 0