Past-paper question · 2024 May-June · Paper 22 · Q10(c)

Question 10(c) 2024 · May-June · Paper 22 · 3 marks

Original past-paper question for 10(C)
Original past-paper question for 10(C)
Reveal official mark-scheme answer Official mark-scheme answer for 10(C)

Official answer for Question 10

Part (c)

✓
One mark for each point

Question 3

✓
MP1
✓
to find the total number of months for all contracts
✓
MP2
✓
to find the number of contracts
✓
MP3
✓
… that are subscribed to News

Mark scheme 2210_s24_ms_22.pdf →

Show text version of question

Question 10

Part (c)

Question 10

A television subscription service has a new database table named Contract to store details of

their subscribers’ contracts. The table contains these fields:

  • ContractNumber – the contract number, for example CT567
  • Months – the length of the contract in months, for example 6
  • EndDate – the date the contract finishes, for example 30 November 2024
  • News – the news service, yes or no
  • Movie – the movie service, yes or no
  • Sport – the sports service, yes or no
  • Junior – the children’s service, yes or no.

Part (c)

Explain the purpose of these structured query language (SQL) statements.

Statement 1: SELECT SUM (Months) FROM Contract;

Statement 2: SELECT COUNT (News) FROM Contract WHERE News;

Statement 1 ..............................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

Statement 2 ..............................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

[3]

Question 11

Topic relevance

Why this question appears here

98% assigned-topic match · Databases

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 2210_s24_qp_22.pdf

Keep practising this topic