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 | |
|---|---|---|
| 1ORDER BY Score DESC | AORDER BY Score DESC, Name | |
| 2ORDER BY Score ASC | BSorts the results from the lowest score to the highest score | |
| 3Show the top scores first | CSorts the results from the highest score to the lowest score | |
| 4Sort by Score, then sort tied students by Name | DThe word BY is missing. It should be ORDER BY Score DESC. | |
| 5ORDER Score DESC | ESELECT Name, Score FROM Results ORDER BY Score DESC | |
| 6ORDER BY Score DESC Name | FThere is no comma between the two sort fields. It should be ORDER BY Score DESC, Name. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
ORDER BY Score DESC — Sorts query results by the Score field from highest to lowest. Use ASC for lowest to highest. Add a second field after a comma to sort ties, like ORDER BY Score DESC, Name.SELECT Name, Score
FROM Results
ORDER BY Score DESCSELECT Name, Score
FROM Results
ORDER BY Score DESCSELECT Name, Time
FROM Races
ORDER BY Time ASCSELECT Name, Score
FROM Results
ORDER BY Score DESC, NameSELECT Name, Score
FROM Results
ORDER BY Score DESC