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

Question 10(d) 2024 · May-June · Paper 22 · 2 marks

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

Official answer for Question 10

Part (d)

✓
ContractNumber

Question 2

✓
News AND Sport // Sport AND News
✓
Example answer:
✓
SELECT ContractNumber
✓
FROM Contract
✓
WHERE News // News = TRUE AND Sport // Sport = TRUE ;
✓
2210/22
✓
Cambridge O Level – Mark Scheme
✓
May/June 2024
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 2210_s24_ms_22.pdf →

Show text version of question

Question 10

Part (d)

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 (d)

Complete this SQL statement to find the contract numbers of the subscribers that take both

the news and sports services.

SELECT .....................................................................................................................................

FROM Contract

WHERE .......................................................... AND ................................................................. ;

[2]

Question 12

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