Past-paper question · 2024 October-November · Paper 22 · Q11(d)

Question 11(d) 2024 · October-November · Paper 22 · 3 marks

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

Official answer for Question 11

Part (d)

✓
One mark per mark point

Question 3

✓
•
✓
Data from 4 correct columns printed – any number of rows, any order
✓
•
✓
Data in rows ordered as shown (row and column) at least two rows
✓
and two columns required
✓
•
✓
All data correct with no extra content
✓
Correct output
✓
104S
✓
Single

Question 1

✓
72.50
✓
105S
✓
Single

Question 1

✓
72.50
✓
201F
✓
Family

Question 4

✓
160.00
✓
301D
✓
Double

Question 2

✓
200.00
✓
304P
✓
Suite

Question 6

✓
700.00
✓
Cambridge IGCSE – Mark Scheme
✓
0478/22
✓
October/November
✓
PUBLISHED
✓
2024
✓
Question
✓
Answer
✓
Marks
✓
•

Mark scheme 0478_w24_ms_22.pdf →

Show text version of question

Question 11

Part (d)

Question 11

A database table called Booking28 stores details of hotel rooms and bookings for the week

beginning Monday 7 July 2025.

RoomNo Type Guests Rate$ Mon Tue Wed Thu Fri Sat Sun 101D Double 2 99.99 T T T T F T T 102D Double 2 99.99 T T T F T T T 103F Family 4 150.00 T T T T T T T 104S Single 1 72.50 F T T F T T T

105S Single 1 72.50 F T T F T T T 106T Twin 2 120.00 T T T T F T T 201F Family 4 160.00 F F T T T T T 202D Double 2 120.00 T F T T T T T 203T Twin 2 120.00 T F T T T T T 204T Twin 2 125.00 T F T F T T T 205S Single 1 79.99 T F T T F T T 301D Double 2 200.00 F T T F F T T

302T Twin 2 200.00 T T T T F T T 303P Suite 4 500.00 T T T T F T T 304P Suite 6 700.00 F F F F T T T

Part (d)

Give the output that would be produced by the structured query language (SQL) statement:

SELECT RoomNo, Type, Guests, Rate$

FROM Booking28

WHERE Mon <> T;

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

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

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

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

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

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

[3]

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 0478_w24_qp_22.pdf

Keep practising this topic