Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 2.47 KB

File metadata and controls

35 lines (24 loc) · 2.47 KB

Some iterations over recursion (in Db2)

In this repository, you find additional material, helpful links and more related to the talks on SQL recursion that Michael Tiefenbacher and I have given at the German Db2 User Group (DeDUG) and at the IDUG EMEA DB2 Tech Conference.

The image below, based on Escher's drawing hands, is taken from this blog post on two kinds of SQL recursion.

Sample queries

Sample queries in this repository:

Flight route

Information on airports, airlines, connections and more is available on OpenFlights. The script flightroute_setup.sql provides the statements to set up tables and import data downloaded from OpenFlights.

Compute the flight routes to Philadelphia using this query.

Db2 References

References to the Db2 Knowledge Center

Related blogs and links