Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1SELECT firstName, house FROM students; | AThis describes a query. A table only stores records in rows and fields. | |
| 2CREATE TABLE products (productId, name, price); | BA table that stores records in fields, such as the products a shop sells | |
| 3A query finds only the records that match a condition | CSELECT * FROM students WHERE points > 100; | |
| 4A form enters a new record into a table, one field at a time | DINSERT INTO students VALUES (11, 'Sam', 'Ray', 7, 'Red', 0); | |
| 5A report is where you type in new records. | EThis describes a form. A report presents records, for example as a neat printed summary. | |
| 6A table finds the records that match a condition. | FA query that finds records and shows only the chosen fields from the students table |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
table, query, form, report — The four database objects: a table stores records, a query finds records, a form enters records and a report presents them.CREATE TABLE Students (name TEXT, year INT);SELECT name FROM Students WHERE year = 7;<form action="/add">
<input name="name">
</form>table: stores records
query: finds records
report: presents recordstable: stores records
form: enters records
report: presents records