Skip to content

feat: add expected output examples to Week 3 queries_v1.sql #41

@DiogoRibeiro7

Description

@DiogoRibeiro7

Proposal

`course/03_week03_normalization/queries_v1.sql` contains 10 example queries (daily schedule, patient history, doctor workload, etc.) but provides no expected output.

Add comments showing the expected result set for each query given the seed data. For example:

```sql
-- Q1: Daily schedule for a given doctor on a given date
-- Expected: 2 rows (appointments for doctor_id=1 on 2025-01-15)
SELECT ...
```

Why

Students running queries for the first time need to verify their environment is set up correctly. Without expected output, they can't tell if missing rows indicate a problem.

Scope / files impacted

  • `course/03_week03_normalization/queries_v1.sql`

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststudent-facingContent visible to studentsweek-03Week 3: Normalization & relational mapping

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions