From 1dc74b4d7d6883da47b9654c8f59347fe95bd4cb Mon Sep 17 00:00:00 2001 From: Andrey Karchevsky <62261985+realkarych@users.noreply.github.com> Date: Sun, 24 Nov 2024 18:42:23 +0300 Subject: [PATCH] Remove redundant equation --- 02-query.cypher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/02-query.cypher b/02-query.cypher index b93fa04..3f6bf5e 100644 --- a/02-query.cypher +++ b/02-query.cypher @@ -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 // @@ -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 \ No newline at end of file +LIMIT 1