[ACCEPTED]-NEO4j Cypher query returning distinct value-cypher
Accepted answer
Distinct works on the whole row, if you 1 want to return distinct friends per company, do:
return comp.name, collect(distinct friend.name)
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.