Contents
Instructions for online access
Chapter 1: Graphs, Trees, and Hierarchies
1.1 Modeling a Graph in a Program
1.1.1 Adjacency Lists for Graphs
1.1.2 Adjacency Arrays for Graphs
1.1.3 Finding a Path in General Graphs in SQL
1.2 Defining Trees and Hierarchies
1.2.2 Properties of Hierarchies
Chapter 2: Adjacency List Model
2.1 The Simple Adjacency List Model
2.2 The Simple Adjacency List Model Is Not Normalized
2.3 Fixing the Adjacency List Model
2.3.1 Concerning the Use of NULLs
Get Joe Celko's Trees and Hierarchies in SQL for Smarties now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.