Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-18-2020 01:42 AM
In exercise 3.2, we have to retrieve all people who have written "other" movies, i.e movies other than one with the 'title' - Speed Racer
I'm trying something like
MATCH (p:Person)-[not :WROTE]->(:Movie {title:"Speed Racer"}) return p
but its not working. How do I get the desired result?
Solved! Go to Solution.
08-18-2020 01:44 AM
Hello @codeinode
You have to use a WHERE
clause
MATCH (p:Person)-[:WROTE]->(m:Movie)
WHERE m.title <> "Speed Racer"
RETURN DISTINCT p
Regards,
Cobra
08-18-2020 01:44 AM
Hello @codeinode
You have to use a WHERE
clause
MATCH (p:Person)-[:WROTE]->(m:Movie)
WHERE m.title <> "Speed Racer"
RETURN DISTINCT p
Regards,
Cobra
All the sessions of the conference are now available online