Practice Questions Flashcards

(2 cards)

1
Q

Provide the Cypher code that would add a new type of producer relationship to the movie db

A

CREATE (p:Producer {name: ‘Jerry Bruckheimer’, born: 1943})
WITH p
MATCH (m:Movie {title: ‘The Matrix’})
CREATE (p)-[:PRODUCED {year: 1999}]->(m)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly