Skip to content

Restructure Week 9 practice exercises & add Exercise 8 (fan-out)#33

Merged
lassebenni merged 4 commits into
mainfrom
fix/data-track-week-9-exercise-polish
Jun 29, 2026
Merged

Restructure Week 9 practice exercises & add Exercise 8 (fan-out)#33
lassebenni merged 4 commits into
mainfrom
fix/data-track-week-9-exercise-polish

Conversation

@lassebenni

Copy link
Copy Markdown
Collaborator

This PR restructures the Week 9 practice exercises, moves the EXPLAIN/Cartesian query exercise to Exercise 5, shifts the validation and views exercises, and introduces a new Exercise 8 on identifying and resolving join fan-out in SQL.

Lasse Benninga and others added 4 commits June 25, 2026 10:31
…c sample, assignment cast note

Polish from a Week 9 exercise review (all solutions live-verified against the
shared Azure Postgres: Manhattan top, 0 NULL pickups, 189 duplicate groups,
0 orphans, fact view 56,369 = 56,551 - 182 negatives).

- Ex1: add ORDER BY pickup_datetime before LIMIT 5 so the sample is stable
  between runs (a bare LIMIT returns an arbitrary 5 rows).
- Ex5: tell students 5a returns 0 and 5c returns empty BY DESIGN (pickup IDs
  are complete; orphans do not exist on this load). A 0 is the check passing,
  not a mistake. Prevents the "did I break it?" confusion.
- Ex6: note the practice view is scaled down; the assignment's vw_fact_trips
  also casts pickup_datetime::TIMESTAMP. Flag it so students do not under-build
  the assignment deliverable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ercises, and add Exercise 8 (Deduplicate Fan-out Join)
@lassebenni lassebenni merged commit bb8657d into main Jun 29, 2026
1 check passed
@lassebenni lassebenni deleted the fix/data-track-week-9-exercise-polish branch June 29, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant