← All printables
ACARA Digital Technologies Years 9–10 · Modules 459–475

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

A free printable ACARA Digital Technologies Years 9–10 definitions worksheet with 10 key terms, built from the key terms of Entities, Relationships and Queries (Modules 459–475) — Pattern matching with LIKE, % and _, BETWEEN and IN in a WHERE clause, Why a query over two tables needs a join, Writing the ON condition: foreign key equals primary key, Table-qualified field names in a join, Table aliases in a join and more. Print it or save it as a PDF — the answer key starts on its own page. No login needed.

ACARA Digital Technologies Years 9–10 Definitions Worksheet: Entities, Relationships and Queries (Modules 459–475)

Name:
Date:
Class:

Key terms

Write what each term means, in your own words.

1
WHERE lastName LIKE 'S%'
2
BETWEEN low AND high
3
JOIN
4
ON orders.customer_id = customers.customer_id
5
table.field
6
FROM students s
7
JOIN ... ON ... WHERE ... ORDER BY
8
JOIN subjects ON results.subjectId = subjects.subjectId
9
Cartesian product
10
multi-table query

Answer Key

ACARA Digital Technologies Years 9–10 · Modules 459–475 · Student wording will vary for definitions
1WHERE lastName LIKE 'S%' — LIKE matches text by pattern in a WHERE clause. % stands for any run of characters and _ for exactly one, so 'S%' finds values starting with S and '%son' finds values ending in son.
2BETWEEN low AND high — Tests if a value is inside a range, including both limits. Its partner IN (a, b, c) checks a value against a list, replacing repeated OR. NOT IN excludes the list.
3JOIN — A join matches each foreign key value in one table to the primary key value in another, so rows from both tables show together. Rows with no match are left out.
4ON orders.customer_id = customers.customer_id — The join condition: it matches the foreign key in one table to the primary key in the other. The = sign compares the two values to find matching rows. It does not assign a value.
5table.field — Names the table a field comes from, like students.name. Needed in a join when both tables share a field name, or SQL gives an ambiguous column error.
6FROM students s — Gives the students table the short name s after FROM, so the rest of the query can write s.firstName instead of students.firstName.
7JOIN ... ON ... WHERE ... ORDER BY — After JOIN ... ON links two tables, WHERE filters the joined rows and ORDER BY sorts them. Clause order: SELECT, FROM, JOIN ON, WHERE, ORDER BY.
8JOIN subjects ON results.subjectId = subjects.subjectId — A second JOIN line chained after the first to reach a third table. It follows a foreign key in the junction table to the primary key of the next table.
9Cartesian product — A join with no ON condition pairs every row of one table with every row of the other, so 3 customers and 4 orders give 12 rows, most of them wrong.
10multi-table query — A query that gets fields from more than one table: find which tables hold them, JOIN them on matching keys, then add WHERE and ORDER BY to match the question.

Modules this definitions worksheet covers

Every module has its own free printable worksheet with an answer key, and students can practise the same terms interactively on Cloodit.

Part of: ACARA Digital Technologies Years 9–10 — Entities, Relationships and Queries, QCE Digital Solutions Unit 2 — Data and Programming Techniques, QCE Digital Solutions Unit 2 — Prototype Data Solutions, QCE Digital Solutions Unit 3 — Interactions Between Users, Data and Digital Systems, QCE Digital Solutions Unit 3 — Innovative Digital Solutions, QCE Digital Solutions Unit 4 — Prototype Digital Data Exchanges, WA Computer Science ATAR Year 11 — Data Management

More ACARA Digital Technologies Years 9–10 printables

This printable is free — no login needed.

Free classroom tools, no account: Hangman · Random Team Generator · Random Name Picker Wheel · Seating Plan Maker

Make a free class, give it a journey, and you also get:

Create a free teacher account →

No credit card. No setup fee. Make a class and invite students in under three minutes.