Hi Team,
I have a person nodes with many records in it and its relationship created.
I have a requirement where i need to copy person node to personbkup node and copy the relationship.
Match (p:person)<-[ac: ACCESSED_BY]-( b: Block)
here person and Block are linked using b.Id and p.PersonId
Now i need to create a personbkup node from result of above query and then create relationship below.
Match (p:personbkup)<-[ac: ACCESSED_BY]-( b: Block)
Later i will detach delete the person node