Advertisement
kieni17

Untitled

May 5th, 2020
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.24 KB | None | 0 0
  1. MATCH ( i:Intermediary )-[:INTERMEDIARY_OF|:OFFICER_OF]->(x)
  2. WITH i , COUNT (x) AS Kante
  3. ORDER BY Kante DESC
  4. LIMIT 10
  5. MATCH (i)-[e]->(y)
  6. WHERE NOT TYPE (e)="INTERMEDIARY_OF" AND NOT TYPE (e)="
  7. OFFICER_OF"
  8. RETURN i.name , TYPE (e) , y.name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement