Perhaps you should read the cypher intro first 
http://neo4j.com/developer/cypher and the online course 
http://neo4j.com/online-course

Cypher is all about pattern matching, there a no subqueries, perhaps you should 
describe your domain and what you want to achieve?

There are no foreign keys but relationships instead.

Michael

> Am 08.02.2015 um 21:50 schrieb FERHAT Ilyes <[email protected]>:
> 
> Hi all
> Please can someone correct this query for me: 
> 
> MATCH (a:COMPTES) WHERE (a.LEVEL_CHECK='1') AND ( ( a.ID_COMPTE  IN ( MATCH 
> (B:FOLLOWERS) WHERE (b.ID_FOLLOWER='1')  ) OR ( a.ID_COMPTE. IN ( MATCH 
> (c:FOLLOWERS) WHERE (c.ID_COMPTE='1') ))) RETURN a 
> 
> 
> I'm new to cypher and I got en error in that query.
> thank you. 
> 
> -- 
> 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.

-- 
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