Data & Schema Design

Normal forms, primary keys, foreign key constraints, and when JSON earns its place in an otherwise relational schema.

The schema is the foundation everything else stands on. These lessons cover the relational model in practice: why normalization exists, how constraints give the planner information it can use, and when denormalized types like JSONB are the right tool.

Paired course

Data Modeling for Performance

Go deeper with structured exercises, datasets, and production patterns.

See the Course

Go deeper

The Art of PostgreSQL

These lessons are the foundation. The book gives you the complete treatment, with real datasets you can run and the production patterns that turn thousands of lines of code into simple queries.

Get the Book — $89