2210/22/M/J/25 question 9: worked solution (May/June 2025, paper 22)

Show as plain text

Cambridge O Level Computer Science 2210 · 9.4 Structured query language (SQL) Worked solution from the Databases Paper 2 Algorithms, Programming and Logic booklet, Part 2 of 2. Q22 2210/22/M/J/25 original Q9 Structured · 6 marks Worked solution (a) Pick one field for each type: Data type Field Boolean Subway integer Population (or Founded, Identification) real AverageIncome text Name (or Country, Continent, Identification) All four correct [2] Note: two or three correct scores [1] . (b) SELECT Name, Country, Population FROM CapitalCity WHERE Continent = "Asia"; All three correct fields in the SELECT [1] Keyword FROM [1] Correct field in WHERE: Continent [1] Correct value: "Asia" (single quotes also fine) [1] KEY IDEA Match each field to the data it holds, then fill in SELECT, FROM and WHERE. TOTAL 6 marks Official mark scheme VIDEO ▶ Topic lesson A lesson on this topic · by Mr Bulmer's Learning Zone. Tap the picture to open it on YouTube.