Past-paper question · 2024 May-June · Paper 21 · Q9(b)

Question 9(b) 2024 · May-June · Paper 21 · 5 marks

Original past-paper question for 9(B)
Original past-paper question for 9(B)
Reveal official mark-scheme answer Official mark-scheme answer for 9(B)

Official answer for Question 9

Part (b)

✓
One mark for each correct answer

Question 5

✓
SUM
✓
NumberInStock
✓
SoftDrinks
✓
Container
✓
'Can'
✓
Correct code:
✓
SELECT SUM (NumberInStock)
✓
FROM SoftDrinks
✓
WHERE Container = 'Can';

Mark scheme 2210_s24_ms_21.pdf →

Show text version of question

Question 9

Part (b)

Question 9

A database table called SoftDrinks stores details of the soft drinks sold by a small shop.

Field Example data

Name Cola

Supplier Cambridge Beverages

Container Can

SizeCl 330

NumberInStock 30

ReorderLevel 15

Reordered Yes

Part (b)

Complete the structured query language (SQL) statement to return the number of cans the

shop has in stock.

SELECT ....................................................... (.......................................................)

FROM .......................................................

WHERE ....................................................... = ....................................................... ;

[5]

Question 11

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_21.pdf

Keep practising this topic