Skip to content
O Level Computer Science 2210 · Topic 9

Databases: past paper questions

86 real questionsasked in 10 of the last 10 exam series2019–2026usually: Complete, State, Give, Explain, Identify

Real questions on databases

The newest 20 of 86 written questions. Open one to see it on the real paper.

  1. 2210/21 · May/June 2026 · Q9a(i)[1]

    State why MemberName would not be appropriate for a primary key.

    See it on the paper →
  2. 2210/21 · May/June 2026 · Q9a(ii)[1]

    Give the name of the most appropriate field for the primary key.

    See it on the paper →
  3. 2210/21 · May/June 2026 · Q9b[2]

    Complete the table to identify the most appropriate data type for these fields in the table SWIMMERS. Each data type must be different. field data type Distance Date MemberID

    See it on the paper →
  4. 2210/21 · May/June 2026 · Q9c[3]

    (c) Complete the structured query language (SQL) statement to display only the names of the members who swam a distance of 1500 metres or more. SELECT .......... FROM .......... WHERE .......... Turn over

    See it on the paper →
  5. 2210/22 · May/June 2026 · Q9a[4]

    Adatabase table CAR_PARTS stores details of car parts that a business has in stock. Complete the table by giving the most appropriate data types for each field. Only the data types: text, character, Boolean, integer, real and date/time are available in this database. field data type description unique code to identify...

    See it on the paper →
  6. 2210/22 · May/June 2026 · Q9b[4]

    (b) Complete the structured query language (SQL) statement to list only the part ID, type of car and the quantity in stock of all the car parts that are brake pads. SELECT .......... FROM .......... WHERE, ..........

    See it on the paper →
  7. 2210/22 · May/June 2026 · Q9c[2]

    Describe one reason why the InStock field is not needed in the table. Turn over

    See it on the paper →
  8. 2210/22 · October/November 2025 · Q7a[1]

    State the purpose of a primary key in a database table.

    See it on the paper →
  9. 2210/22 · October/November 2025 · Q7b[2]

    Complete the table for each of the given data types, to identify one field from the table WATERFOWL that is most likely to use it. Each field must be different. Data type Field Boolean Integer Text Real

    See it on the paper →
  10. 2210/22 · October/November 2025 · Q7c[3]

    Give the output that would be produced by the structured query language (SQL) statement: SELECT Species, Length, Wingspan FROM WATERFOWL WHERE Family = "Swan" ORDER BY Lifespan;

    See it on the paper →
  11. 2210/22 · October/November 2025 · Q7d[4]

    Complete the SQL statement to list only the species, family and lifespan of all waterfowl whose typical lifespan is at least 10 years, sorted in order of species. SELECT

    See it on the paper →
  12. 2210/23 · October/November 2025 · Q8a(i)[1]

    Give the name of the field that is most appropriate to be the primary key. (a) (i)

    See it on the paper →
  13. 2210/23 · October/November 2025 · Q8b[3]

    Complete the structured query language (SQL) statement to list equipment not returned. The list must contain only the descriptions and student names. SELECT FROM

    See it on the paper →
  14. 2210/21 · May/June 2025 · Q8b[2]

    Write the output from the structured query language (SQL) statement: SELECT RouteID, Destination, Time FROM BUS WHERE Driver = "A Patel";

    See it on the paper →
  15. 2210/21 · May/June 2025 · Q8c[3]

    Complete the SQL statement to display only the destination of the buses that have a return. SELECT

    See it on the paper →
  16. 2210/22 · May/June 2025 · Q9a[2]

    Complete the table by writing one appropriate field from CapitalCity for each data type. Each field must be different. Data type Field Boolean integer real text

    See it on the paper →
  17. 2210/22 · May/June 2025 · Q9b[4]

    Complete the structured query language (SQL) statement to list only the name, country and population of all the cities in CapitalCity from the continent of Asia. SELECT CapitalCity

    See it on the paper →
  18. 2210/22 · October/November 2024 · Q11a[2]

    State the number of fields and records in this database table. Fields

    See it on the paper →
  19. 2210/22 · October/November 2024 · Q11b[1]

    State the reason why the Type field would not be suitable as a primary key.

    See it on the paper →
  20. 2210/22 · October/November 2024 · Q11c[2]

    The database uses only the data types: • • • • • • alphanumeric character Boolean integer real date/time. Complete the table to show the fields that could have the given data types. Only one field name is required in each box and each field name must be different. Field Data type alphanumeric Boolean real integer

    See it on the paper →

What examiners said

Candidates who correctly stated that the given table had 18 rows achieved the mark. Some candidates incorrectly stated the number of columns and others incorrectly stated the number of rows including the header row.

— Examiner report, October/November 2023, 2210/22 Q10(a) (Cambridge)

Most candidates correctly identified Code as the primary key field and most of these candidates stated the reason for its choice was that it was a unique identifier.

— Examiner report, October/November 2023, 2210/22 Q10(b) (Cambridge)

Most candidates answered this question well. They correctly identified suitable data types for the given fields.

— Examiner report, October/November 2023, 2210/22 Q10(c) (Cambridge)

Past papers, syllabus and examiner reports © UCLES (Cambridge University Press & Assessment). Questions are matched to topics from the official syllabus. AssessPro is independent and not endorsed by Cambridge.