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.

Graph Data Model Neo4j 4.x Exercise 2.3 Improvement

I don't know if it was intended to do so, but I found a far better answer for the
Exercise 2.3: Find the airports with the most outgoing connections
In the implementing graph data model for neo4j 4.x course

MATCH (a:Airport)
RETURN a.code AS Code, size((a)-[:CONNECTED_TO]->()) AS Connections
ORDER BY Connections DESC
LIMIT 10

1 REPLY 1

Thanks @tard.gabriel - definitely a better solution.

I will update the guide.

Elaine