thecodex.expert · The Codex Family of Knowledge
Free Course

Learn SQL

Three tracks from first SELECT to window functions, CTEs, and transactions. PostgreSQL throughout. Free forever. No account.

🕐 ~12 hours3 tracksPostgreSQL 16ISO/IEC 9075
Track 1

Foundations

Your first SQL queries

  • SELECT, FROM, WHERE basics
  • Filtering with comparison and logical operators
  • NULL handling and IS NULL
  • INNER JOIN and LEFT JOIN
  • ORDER BY, LIMIT, and DISTINCT
🕐 ~3 hours5 lessons + quiz
Start Foundations →
Track 2

Practitioner

Write real database queries

  • Aggregate functions and GROUP BY
  • HAVING vs WHERE
  • Multiple joins and self-joins
  • Subqueries and EXISTS
  • CASE expressions and COALESCE
🕐 ~4 hours5 lessons + quiz
Start Practitioner →
Track 3

Advanced

SQL for data engineering

  • Window functions: RANK, LAG, SUM OVER
  • CTEs and recursive queries
  • Transactions and ACID
  • Indexes and EXPLAIN ANALYZE
  • Schema design and normalization
🕐 ~5 hours5 lessons + quiz
Start Advanced →

Practice environment

Run every query from these lessons for free in your browser — no installation needed.

db-fiddle.com →