Navigating Tree and Graph Data with Recursive SQL

Hierarchical and networked data appears everywhere in modern databases: organisational charts, product category trees, dependency graphs, and even transport networks. Applications need to retrieve this data to draw a chart, find out whom a certain employee reports to, or find the routes that connect two train stops. Storing and querying this kind of data in a relational database is not trivial. If…