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 | |
|---|---|---|
| 1WHERE Score > 80 | AShows only records where the Year is not equal to 7 | |
| 2WHERE Year <> 7 | BShows only records where the Score is greater than 80 | |
| 3Show only students who are in Year 8 (a number criterion) | CWHERE Year = 8 | |
| 4Text criteria must be put inside quotes | DThe text value Blue is missing its quotes. It should be WHERE Team = "Blue". | |
| 5WHERE Team = Blue | EThe >= operator also includes 80. To get only scores above 80, use > instead: WHERE Score > 80. | |
| 6WHERE Score >= 80 (to find scores above 80 only) | FWHERE Team = "Blue" |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
WHERE Score > 80 — A criterion that limits a query to records where the condition is true, so only Score values above 80 are shown. Compare with =, <>, <, >, <=, >=. Text goes in quotes.SELECT Name, Score
FROM Students
WHERE Score > 80SELECT Name
FROM Students
WHERE House = "Red"SELECT Name
FROM Students
WHERE Score <> 50SELECT Name
FROM Students
WHERE Score >= 80SELECT Name
FROM Students
WHERE Age <= 12