cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Https://neo4j.com/graphacademy/online-training/introduction-to-neo4j/part-5/

MATCH (a:Person)-[:ACTED_IN]->(m:Movie)
WITH m, count(m) AS numMovies, collect(m.title) as movies
WHERE numMovies > 1 AND numMovies < 4
RETURN //??

===================

what is answer to this?

option given:

a
m
numMovies
movies

=======================================================

I thnink answers should be a, numMovies, movies

but its showing incorrect

Please help

2 REPLIES 2

Ch3xMat3
Node Link

Can you share the question asked for this query?

a isn't included in the WITH so can't be used in the RETURN.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online