Phase 4Beginner5 of 18 in Database Design
SQL from Fundamentals to Advanced
DDL and DML, logical query order, every join type, subqueries with EXISTS and the NOT IN NULL trap, CTEs and recursive queries, window functions, set operations, data types and three-valued NULL logic.
SQL is declarative: you describe the result and the planner decides how to compute it. Fluency means knowing what each clause does, the order it's applied in, and where NULLs and duplicates quietly change answers.
All examples run on PostgreSQL 17 and use a small shop schema: customer, orders, order_item, product.
0/6 · 0%
6 topics ~48 min 7 code blocks & diagrams