You are here
Join two SQL tables without multiplying rows
Station 4 of 30
Already know this? Jump to the check
15 min
Learning evidence
- Viewed
- Practiced
- Check completed
- Practical task completed
Needs first
✓ Filter and group rows in SQLNext station
→ Clean missing values and inconsistent labelsLight it up
15-min station · view, practice, pass the check, do the taskYour accountProgress log — saves your learning evidence
Data Scientists · Career line
- Data Scientists
Frame a business question around a decision → Data Scientists
Join two SQL tables without multiplying rowsHere
… 20 more stations
Data ScientistsJob
What this skill is
Write down the expected relationship. Many orders can share a depot ID, and each ID should match one current depot entry.
Why the job needs it
Join two SQL tables without multiplying rows.
What the lesson covers
- 15-minute lesson
- 2 practice tasks
- A left join grows from 210 input orders to 222 rows while distinct order IDs stay at 210.
- Seven input orders have no depot match but belong in the count.
- 5-question check
Preview
What does a lookup key with two applicable rows do to each matching order?
- It combines the lookup values into one cell
- It drops the order from both regions
- It can return one result per lookup match
- It keeps the order solely in the first region
Free with an account · Create free account
Every lesson is free with an account. Pro adds saved Job Desk quotes with clean PDFs, the Apprentice Hours log, and your progress saved across every tree.
Sources
https://www.postgresql.org/docs/current/queries-table-expressions.html · 2026-12-03
