MATCH (n:Person)<-[:KNOWS]-() WITH n, count(*) as friends WHERE friends > 5 AND NOT (n)-[:KNOWS]->() RETURN n, friends
Am 18.12.2013 um 12:28 schrieb Navrattan Yadav <[email protected]>: > hi.. > I have one Relation type : Know > > now i want to get all node which has more than 5 incoming friend and no > outgoing. > > > -- > 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/groups/opt_out. -- 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/groups/opt_out.
