The optional match is like an outer join
MATCH (s:Student)
OPTIONAL MATCH (s)-[:REGISTRATIOn]->(c:Course)
WITH s, count(c) as courses
RETURN s.name, s.intelligence, courses
On Tue, Apr 12, 2016 at 12:19 PM, Marwa Elabri
wrote:
> please can one help me to find a solution to this request
>
> i h
please can one help me to find a solution to this request
i have in my database this schema (student)-[registration]-(course)
for the node student i have the property : intillegence
for the node course i have the property : difficulty
i want to recupere the inteliggence of student those who a