LLearnCode
Academy/SQL & PostgreSQL concepts

data · 23 lessons

SQL & PostgreSQL concepts

Relationships, integrity, queries, transactions, and concurrency.

What you are working toward

Query real local data and reason about production database boundaries.

0 learning steps complete · View prerequisites and evidence →

The existing foundation

Start here, or use it to fill a gap.

Original lessons, practice, bosses, and progress are preserved. Completion from this journey is distinct from the new independent evidence model.

  1. 01SELECTGuided foundationOpen →
  2. 02WHEREGuided foundationOpen →
  3. 03ORDER BY & LIMITGuided foundationOpen →
  4. 04DISTINCTGuided foundationOpen →
  5. 05AggregatesGuided foundationOpen →
  6. 06GROUP BYGuided foundationOpen →
  7. 07HAVINGGuided foundationOpen →
  8. 08JOINsGuided foundationOpen →
  9. 09INNER vs LEFT JOINGuided foundationOpen →
  10. 10CASEGuided foundationOpen →
  11. 11SubqueriesGuided foundationOpen →
  12. 12CTEsGuided foundationOpen →
  13. 13DatesGuided foundationOpen →
  14. 14Window functionsGuided foundationOpen →
  15. 15NULL handlingGuided foundationOpen →

Engineering sequence

Relational authority

  1. 01Make impossible relationships unrepresentableintermediate · 22 min · predict, experiment, debug, buildunseen
  2. 02Keep missing relationships visibleintermediate · 21 min · predict, experiment, debug, buildunseen

Engineering sequence

Query reasoning

  1. 03Name intermediate relations; keep row-level contextadvanced · 24 min · predict, experiment, debug, buildunseen
  2. 04Explain why a query does workadvanced · 23 min · predict, experiment, debug, buildunseen

Engineering sequence

State under change

  1. 05Make a change an all-or-nothing unitintermediate · 22 min · predict, experiment, debug, buildunseen
  2. 06Reason about two writers, not one happy pathadvanced · 26 min · predict, experiment, debug, buildunseen
  3. 07Change a schema while old data still existsadvanced · 23 min · predict, experiment, debug, buildunseen
  4. 08Reconcile claims against evidenceproduction · 25 min · predict, experiment, debug, buildunseen