Skip to content

Relational Databases: Keys, Relationships and Joins

A Year 10 Digital Technologies worksheet using a fictional bushcare volunteer database: students identify primary and foreign keys, describe one-to-many and many-to-many relationships, predict SQL query results with JOIN and GROUP BY, and design a new linking table.
WorksheetTechnologiesYear 10Shared by Heapso

Preview

Answers and teacher notes are hidden here. Verified teachers see them once it's copied into Heapso.

Read the information

Fictional bushcare volunteer database

  1. [1]

    A bushcare group records which volunteers work at which sites. Each table stores one kind of thing (an entity). All names and data are invented.

  2. [2]

    Table Volunteer: VolID | FirstName | JoinYear

  3. [3]

    V01 | Mia | 2023 ; V02 | Tom | 2024 ; V03 | Aisha | 2022 ; V04 | Lachlan | 2025

  4. [4]

    Table Site: SiteID | SiteName | Habitat

  5. [5]

    S1 | Creek Bend | creek bank ; S2 | Banksia Ridge | heath ; S3 | Wattle Gully | woodland

  6. [6]

    Table Shift: ShiftID | VolID | SiteID | ShiftDate | Hours

  7. [7]

    1 | V01 | S1 | 2026-03-07 | 3

  8. [8]

    2 | V02 | S1 | 2026-03-07 | 2

  9. [9]

    3 | V01 | S2 | 2026-03-14 | 4

  10. [10]

    4 | V03 | S3 | 2026-03-14 | 3

  11. [11]

    5 | V03 | S1 | 2026-03-21 | 2

  12. [12]

    6 | V02 | S2 | 2026-03-21 | 3

  13. [13]

    7 | V01 | S1 | 2026-03-28 | 2

© Australian Curriculum, Assessment and Reporting Authority (ACARA) 2010 to present, unless otherwise indicated. This material was downloaded from the Australian Curriculum website (accessed 18 October 2026) and was not modified. The material is licensed under CC BY 4.0.

Licence: CC BY 4.0. ACARA's terms of use. Heapso isn't affiliated with ACARA, and ACARA doesn't endorse Heapso or any product that uses the Australian Curriculum.

The Australian Curriculum website