/ config

Settings

Theme
Language

Lesson text

Pick a typeface and size that make long lessons comfortable to read.
Font
Size
S

Code text

consumer.subscribe(topics)
Font
Size
XS

Progress

Free readingUnlock every lesson and hide progress
ResourcesGitHub repositorycourse source code→
/ contents

Course outline

0 / 63 (0%)
    1. 01JOIN: inner/left/right/full25m
    2. 02Multi-table and self-joins25m
    3. 03Aggregation: GROUP BY/HAVING25m
    4. 04DISTINCT ON20m
    5. 05Subqueries: EXISTS vs IN25m
    6. 06CTEs and materialization25m
HomeGitHub repository
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.

Start module→Continue · JOIN: inner/left/right/full→Reread module→Next module →
Progress0 / 6
0%
Lessons
6
Duration
2 h 25 min
Stack
Go
/ lessons

Lessons

6 lessons · 2 h 25 min
  1. 01✓JOIN: inner/left/right/full↳ continue from here#join#inner#left25m→
  2. 02✓Multi-table and self-joins↳ continue from here#join#multi-table#self-join25m→
  3. 03✓Aggregation: GROUP BY/HAVING↳ continue from here#aggregation#group-by#having25m→
  4. 04✓DISTINCT ON↳ continue from here#distinct-on#order-by#top-n20m→
  5. 05✓Subqueries: EXISTS vs IN↳ continue from here#subquery#exists#in25m→
  6. 06✓CTEs and materialization↳ continue from here#cte#with#materialized25m→
← Previous moduleCRUD fluencyNext module →Transactions