{# Course schema: this is what turns a blue link into a result that shows the provider and the level. Only facts that are actually true go in here. #}
ExpoCoder Sign in Start free

Advanced SQL

Everything past SELECT: correlated subqueries, CTEs and recursion, window functions, materialized views, JSONB, indexes and query plans you can read, MVCC, the write ahead log, and triggers. All on real PostgreSQL.

22 lessons about 7 hours Hard
Learn it by writing it.

Every lesson runs real code in your browser, checked the moment you submit. No installing anything, no setup, no waiting.

Start Advanced SQL free

What this course covers

  1. Subqueries: Scalar, Row and Correlated
  2. EXISTS, IN, ANY and ALL
  3. Common Table Expressions with WITH
  4. Recursive CTEs: Trees and Org Charts
  5. Window Functions and the Frame
  6. RANK, DENSE_RANK and ROW_NUMBER
  7. LAG, LEAD and Running Totals
  8. Views
  9. Materialized Views
  10. CASE, COALESCE and FILTER
  11. UNION, INTERSECT and EXCEPT
  12. JSONB: Documents Inside PostgreSQL
  13. How an Index Really Works
  14. Composite, Partial and Covering Indexes
  15. Reading a Real Query Plan
  16. Query Optimization in Practice
  17. Transactions and ACID in Depth
  18. Isolation Levels and the Anomalies They Prevent
  19. Concurrency Control: Locking versus MVCC
  20. Crash Recovery and the Write Ahead Log
  21. Functions and Triggers
  22. SQL Dialects, Side by Side

Other courses

Computational Thinking

Learn to think like a problem-solver before you write a single line of code. Break big …

Basic Python

Your first Python course, no experience needed. Learn variables, loops, functions, and …

Intermediate Python

Level up your Python with comprehensions, lambdas, error handling, files, modules, and …

Object-Oriented Programming

Master OOP in Python: classes, objects, inheritance, polymorphism, encapsulation, abstr…

Advanced Python

Go deeper in Python: decorators, generators, type hints, regex, JSON, SQLite, testing, …

Data Structures & Algorithms

Core CS: arrays, lists, stacks, queues, hash tables, trees, graphs, sorting, searching,…

Games with Pygame

Build your own 2D games from scratch: the game loop, sprites, movement, collisions, and…

Java

Learn Java from zero, with no programming background needed. Write your first program, …

C++

Learn C++ from zero, with no programming background needed. Start with your first progr…

C

Learn C from zero, with no programming background needed. The language that Unix, Linux…

JavaScript

Learn JavaScript from scratch: variables, types, loops, functions, arrays and objects, …

Web Frontend

Build for the browser: structure pages with HTML, style them with CSS, then use live AP…

See all courses