Six courses · Core → Architect

PostgreSQL Courses for
Application Developers

From solid SQL foundations to production-grade data system design — taught through hands-on exercises on real datasets, by a PostgreSQL Major Contributor.

6Courses
48Modules
139Exercises
100+Hours

The book teaches what.
The course teaches how.

They are built from the same material by the same author. The difference is what you do with it.

The Book

  • Explains every concept in depth, with the why behind it
  • 590 pages of reference you'll return to for years
  • Best when you already know what to look for

The Course

  • A pragmatic deep dive into one concept per course — foundations through daily practice
  • Exercises on real datasets that build muscle memory, not just understanding
  • Takes you from I know about this to I reach for it without thinking

For example: the book has a full chapter on window functions — what they are, how the frame works, when to use them. The Master Window Functions course takes that same ground onto Formula One race data, then hands you 26 exercises on the Chinook music store, until OVER (PARTITION BY … ORDER BY …) feels as natural as a GROUP BY.

6 Courses. 48 Modules. One System.

Master Window Functions, Reliable Aggregation, Data Modeling for Performance, Advanced JOIN Techniques, Read Query Plans, and Query Optimization Fundamentals — each course is 8 modules across Core, Advanced, and Architect tiers.

Browse the full 48-module curriculum →

Every course runs Core → Advanced → Architect. Your tier decides how deep each of the six goes — Core covers the foundations of all six, Architect opens every module in all six.

Compare the three tiers →

What one module actually looks like

Every module follows the same shape: read the technique on a real dataset, solve it yourself against a live database, then check that it stuck. Below is real material from Master Window Functions.

Read

f1db · rolling form
-- A driver's "form": average points
-- across the last five races.
  select r.name as race,
         r.date,
         res.points,
         round(
           avg(res.points) over(
             order by r.date
             rows between 4 preceding
                      and current row
           )::numeric, 2
         ) as form_5_races
    from f1db.results res
    join f1db.races r using(raceid)
   where res.driverid = 1
     and r.year between 2016 and 2017
order by r.date;

Runs live in the app — no install, real data.

Practice

chinook

Average track duration, excluding the current row.

For every track in the Rock And Roll genre, show the track's name and milliseconds alongside the average across every track in the genre — and the average across every other track, using EXCLUDE CURRENT ROW.

The “everyone but me” pattern: how does this row compare to its peers, without a self-join.

Check

What does SUM() OVER () with no ORDER BY compute for every row?

  • The same grand total on every row — the frame is the whole partition
  • A running total that grows row by row
  • An error, ORDER BY is required
  • Only the current row's own value

Twenty-seven lessons in this format are free to read right now — no account, no card — covering all six course topics.

Read 27 Free Lessons

One dashboard across all six courses

Your tier decides how deep each course runs. The dashboard tracks every module you have read, every exercise you have solved, and every quiz you have passed — so you always know what is left.

My progress Advanced tier
Master Window Functions 7 of 7 modules · 24 exercises
100%
Reliable Aggregation 5 of 7 modules · 18 exercises
71%
Data Modeling for Performance 3 of 7 modules · 11 exercises
43%
Advanced JOIN Techniques 2 of 7 modules · 9 exercises
29%
Read Query Plans Not started
0%
Query Optimization Fundamentals Not started
0%
48Modules
139Exercises
332Quiz questions
3Tiers

Progress shown is an example. The totals are real: 48 modules, 139 exercises and 332 quiz questions across the six courses.

What you get when you join today

The courses are written, exercised and quizzed in full today. Video is an addition to that material, not the thing you are waiting for.

Available now — included in your subscription

  • All 48 modules, written in full — 320 lessons
  • 139 hands-on exercises against a live PostgreSQL 17 database
  • 332 quiz questions, 48 quizzes — one per module
  • Companion PDF per course, per tier — up to 841 pages
  • 48 slide decks — 1,746 slides
  • The Art of PostgreSQL book — included in full

Q4 2026 → early 2027

  • Video walkthrough for each module, alongside the written lesson
  • Additional advanced and architect modules
  • Quarterly "office hours" Q&A sessions

Ongoing, while your subscription is active

  • All future modules included automatically
  • Updated content as PostgreSQL evolves
  • New courses added to the curriculum

Taught by a PostgreSQL Major Contributor

Dimitri Fontaine has contributed Extensions and Event Triggers to PostgreSQL itself, and has spent two decades as a developer, database architect, and DBA on call. The courses teach the same material as the book — the difference is that here you write the queries yourself.

  • "This workshop is a one-stop shop for fully understanding window functions. The presentation was smooth, and Dimitri was very open to discussion and questions. We will definitely be recommending this to our fellow devs!"

    Paul-Henri Bonnement, Window Functions Masterclass
  • "As an experienced programmer but not an experienced SQL programmer, I found I was able to follow along just fine and appreciated the straightforward examples and explanations."

    Jennifer Chandler, Window Functions Masterclass
  • "This book is on a higher level than generic software books. It explains the how's and why's of using Postgres's many feature. It is an excellent companion to the official Postgres documentation."

    Bruce Momjian, PostgreSQL core team
  • "At last the definitive Postgres book for app developers is out, and from the amazing @tapoueh no less. Go get it!"

    Peter van Hardenberg
  • "Full edition of The Art of PostgreSQL is BRILLIANT! Not just best PG resource ever but best tech-learning package I've ever seen!"

    Derek Sivers
  • "Thanks for your fantastic book. It's helped me immensely in my current job. Technical books can often be a bore and hard to digest, but The Art of PostgreSQL was a pleasure to read."

    Ben Davies

The Masterclass quotes are from live sessions on the same material; the rest are readers of the book, which is included in full with every course tier. The self-paced courses are new — this page will carry their reviews as they arrive.

Choose Your Learning Path

From solid foundations to system design. Choose the level that matches your goals — Core, Advanced, or Architect. Each tier builds on the previous one, adding deeper capabilities and modules.

The same six topics taught live, as the Masterclass Curriculum, are €1,495. These are the self-paced route through the same material.

Every tier is a yearly subscription that includes all six courses and the book. While it's active you get every module added that year, at no extra cost. Cancel any time; if it lapses you can resubscribe later at the then-current price.

Not ready to buy? Read 27 lessons free — no account, no card — or create a free account for sample chapters and course modules inside the app.

The Art of PostgreSQL book

The Art of PostgreSQL is included

The course includes The Art of PostgreSQL in full. You get the complete reference, always available as you go through the material.

✓ 590 pages of deep PostgreSQL knowledge ✓ Real-world examples and exercises ✓ Included with your subscription

Why this exists

Free tutorials stop at syntax. Instructor-led training is sold by the day, to teams, on someone else's schedule. This is the middle: the depth of the second, at the pace of the first.

Frequently Asked Questions

Ready to Master PostgreSQL?

Six courses. 48 modules. Real datasets, live queries, and the book — under one subscription.

No account needed to read the free lessons. A free account also opens sample chapters and course modules inside the app.

Not convinced yet? Create a free account and connect to the app's dashboard — sample chapters, sample course modules, and the interactive book reader, free.