Skip to main content
O-LevelComputer ScienceDatabases2210/21 · May/June 2022 · Q65 Marks

A computer game shop records its stock levels in a database table called GAMES. The fields used in the stock table are shown. Name Description GameID primary key GameName the name of each game AgeRestriction the minimum age at which a person is allowed to play each game GamePrice the selling price for each game NumberStock the quantity of each game currently in stock OnOrder whether or not each game is on order from the suppliers DateLastOrdered the date the most recent order for each game was placed GameDescription a summary of the contents and purpose of each game

  1. (a)State the number of fields that are in the table GAMES.[1]
  2. (b)State one important fact that must be true for a field to be a primary key.[1]
  3. (c)Complete the query-by-example grid to output all the games that have no stock and that are on order with the supplier. Display only the GameID, GameName and GamePrice fields in alphabetical order of the name of the game.[3]

Mark scheme

Marking points from the official mark scheme (May/June 2022). The mark or mark type is shown in brackets.

  1. [1] 8
  2. [1] The primary key field must be unique/different for each record in the table
  3. [3] One mark per mark point, max three
  4. • correct fields and table named correctly
  5. • correct sort and show box rows
  6. • correct search criteria
  7. Field: GamelD GameName GamePrice NumberStock OnOrder
  8. Table: GAMES GAMES GAMES GAMES GAMES
  9. Sort: Ascending
  10. Show: ✔ ✔ ✔
  11. Criteria: =0 ="Y"

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
Databases, O-Level Computer Science (syllabus 2210). Structured question, 5 marks.
Source
O-Level Computer Science, May/June 2022 Paper 2 Variant 1, question 6.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep