MATCH (p:Movie)-[r:directedBy]-(q:Director) 

I want to get the movies and directors group by director name and for each 
group I want at most 2 records 

Example output:
Movie     Director
m1         per1
m2         per1
m3         per2
m4         per2


-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to