Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 02-query.cypher
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ RETURN player, team

// GET ALL LAKER OR MAVERICKS PLAYERS //
MATCH (player:PLAYER) - [:PLAYS_FOR] -> (team:TEAM)
WHERE team.name = "LA Lakers" OR team.name = team.name = "Dallas Mavericks"
WHERE team.name = "LA Lakers" OR team.name = "Dallas Mavericks"
RETURN player, team

// GET ALL PLAYERS THAT MAKE MORE THE 35M //
Expand Down Expand Up @@ -129,4 +129,4 @@ MATCH (player:PLAYER) - [:PLAYS_FOR] - (:TEAM {name: "LA Lakers"})
MATCH (player) - [gamePlayed:PLAYED_AGAINST] - (:TEAM)
RETURN player.name, AVG(gamePlayed.points) AS ppg
ORDER BY ppg DESC
LIMIT 1
LIMIT 1