Neo4j Create, Match, Order By
Create a node and add the relationship
Add date for this worksfor relationship
Bring all nodes that participate in the worksfor relationship
Deleting a node using a specific property
Deleting a node using the id
NOTE - You cannot delete a node in a relationship directly. First you must detach and delete. Only when the node is detached from the relationship it can be deleted as shown below.
Delete the worksfor relationship between two specific nodes
Delete a relationship using Id
Create another relationship manages between employee and department
Match all nodes that participate in either worksfor or manages relationship