05/ 11·6 lessons·2 h 25 min
Querying across tables
Tying data together: joins (inner/left/right/full), self-joins, aggregation with GROUP BY/HAVING, DISTINCT ON (the latest order per customer), EXISTS vs IN subqueries, and CTEs with materialization. This is where data turns into answers to business questions.
/ lessons
Lessons
6 lessons · 2 h 25 min
- 01JOIN: inner/left/right/full↳ continue from here#join#inner#left25m
- 02Multi-table and self-joins↳ continue from here#join#multi-table#self-join25m
- 03Aggregation: GROUP BY/HAVING↳ continue from here#aggregation#group-by#having25m
- 04DISTINCT ON↳ continue from here#distinct-on#order-by#top-n20m
- 05Subqueries: EXISTS vs IN↳ continue from here#subquery#exists#in25m
- 06CTEs and materialization↳ continue from here#cte#with#materialized25m