Hi everyone;
I want to have all nodes A, but if more than one node A are linked to node B return only one:
MATCH(a:A)-[:R1]->(b:B) RETURN distinct a.
Can anyone help me ?
Hi Elena, thank you for your response.
Let me give a case. suppose I have:
(Jhon)-[SON_OF]->(Gad)
(Bill)-[SON_OF]->(Gad)
(Yan)-[SON_OF]->(Karim)
(Herve)-[SON_OF]->(Gad)
I want this result :
Jhon
Yan
I do not want to have two or more children with...