Emil Eifrem is not really an actor! We no longer want him in the database. Write the code to delete his node in the graph

MATCH (p:PERSON) WHERE p.name='Emil Eifrem' DETACH DELETE p is not working
it say no records nochage

Hi @harsimran_kaur1 ,

Have you tried with

MATCH (p:Person) WHERE p.name='Emil Eifrem' DETACH DELETE p

?

Labels are case sensitive.

Bennu

1 Like

@bennu_neo is correct here, the Cypher statement itself is case insensitive (eg. MATCH/match/MaTcH) but the data (Labels, relationship types, properties) is case sensitive.

Thanks, I already figured it out and completed the task