01Chapter 1: Why tables need keysThis chapter assumes you can write basic SQL (SELECT, INSERT, UPDATE, DELETE), create tables with CREATE TABLE and column types, and understand rows, columns, and NULL.1 min read
02Chapter 2: Linking tables with a foreign keyThis chapter assumes you can write SELECT, INSERT, UPDATE, and DELETE, create tables with CREATE TABLE, and know that a primary key uniquely identifies each row. Examples use PostgreSQL syntax.1 min read
03Chapter 3: Joining along keysThis chapter assumes you can write SELECT, INSERT, UPDATE, and DELETE, create tables with CREATE TABLE, and read a JOIN. The examples use PostgreSQL syntax. The dialect table at the end lists where the other databases differ.2 min read