The PE department has been recording Sports Day entries on this sheet. Each student has one row, and every event they entered is listed in that row.
| StudentID | StudentName | House | HouseCaptain | Events entered (EventCode · EventName · Venue · Position) |
|---|---|---|---|---|
| S04 | Aria Baptiste | Red | Kyle Mohan | E1 · 100 m Sprint · Track A · 1st E2 · Long Jump · Sand Pit · 3rd |
| S09 | Marcus Ali | Blue | Dante Lewis | E3 · Shot Put · Field B · 2nd |
| S12 | Tamara Rampersad | Red | Kyle Mohan | E1 · 100 m Sprint · Track A · 2nd E4 · 800 m · Track A · 1st |
| S15 | Jaden Cooper | Green | Aisha Ward | E1 · 100 m Sprint · Track A · 3rd E2 · Long Jump · Sand Pit · 1st E3 · Shot Put · Field B · 3rd |
| S21 | Nadia Khan | Green | Aisha Ward | E3 · Shot Put · Field B · 1st E4 · 800 m · Track A · 2nd |
Business rules
• Each student belongs to exactly one House. Each House has exactly one captain.
• Each event has one name and one venue.
• A student may enter many events. Position is that student’s result in that event.
All names are fictional.
Name: ____________________________ Group: ______
Write Sheet A in standard notation. Underline the primary key and put the repeating group inside { }.
Rewrite S04 and S09 so that each row holds one event and every cell holds one value.
| StudentID | StudentName | House | HouseCaptain | EventCode | EventName | Venue | Position |
|---|---|---|---|---|---|---|---|
Which field, or fields, now form the primary key? _______________________ Why? ______________________________
Tick the field each non-key field depends on directly.
| Field | StudentID only | EventCode only | Both (whole key) | Another non-key field (name it) |
|---|---|---|---|---|
| StudentName | ||||
| House | ||||
| HouseCaptain | ||||
| EventName | ||||
| Venue | ||||
| Position |
Partial dependencies found: __________________ Transitive dependency found: __________________
Write each mat in notation. Underline primary keys and mark foreign keys with *.
Cells on Sheet B: 80 · Cells left on your mats (not crossed out): ______ · How many times is “Aisha Ward” stored now? ______
| Call | Cells touched: Sheet B | Cells touched: 3NF | Facts lost: Sheet B | Facts lost: 3NF |
|---|---|---|---|---|
| 1 Update venue | ||||
| 2 Update captain | ||||
| 3 Insert event | ||||
| 4 Delete entry |
A library records: LOAN (MemberID, BookID, MemberName, BookTitle, AuthorID, AuthorName, DateBorrowed)
✂ Phase 2: do not cut yet. Highlight on this sheet. ✂ Phase 3: cut along the dashed lines to get 8 column strips. Keep the rows in order.
Keys are the only columns you are allowed to copy. Use a copy wherever a table needs a key to link to another table.