COMP 3380 > Practice Questions > Flashcards
Provide the Cypher code that would add a new type of producer relationship to the movie db
CREATE (p:Producer {name: ‘Jerry Bruckheimer’, born: 1943})WITH pMATCH (m:Movie {title: ‘The Matrix’})CREATE (p)-[:PRODUCED {year: 1999}]->(m)