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

1 Like

Thanks @tard_gabriel - definitely a better solution.

I will update the guide.