Past-paper question · 2016 May-June · Paper 11 · Q8(b)(iii)

Question 8(b)(iii) 2016 · May-June · Paper 11 · 4 marks

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

Official answer for Question 8

Part (b)

(iii)

(iii)

One mark per statement. Several statements may be on the same line.

[4]
✓
SELECT StudentID, FirstName
✓
FROM STUDENT
✓
WHERE TutorGroup = "10B" // WHERE ( TutorGroup = "10B")
✓
ORDER BY LastName ASC ;
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge International AS/A Level – May/June 2016
✓
9608

Question 11

Mark scheme 9608_s16_ms_11.pdf →

Show text version of question

Question 8

Part (b)

(iii)

Question 8

A school stores a large amount of data. This includes student attendance, qualification, and

contact details. The school’s software uses a file-based approach to store this data. The database design has three tables to store the classes that students attend.

STUDENT(StudentID, FirstName, LastName, Year, TutorGroup)

CLASS(ClassID, Subject)

CLASS-GROUP(StudentID, ClassID)

Primary keys are not shown.

There is a one-to-many relationship between CLASS and CLASS–GROUP.

(iii)

Write an SQL script to display the StudentID and FirstName of all students who are

in the tutor group 10B. Display the list in alphabetical order of LastName.

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

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

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

.......................................................................................................................................[4]

Topic relevance

Why this question appears here

82% assigned-topic match · Databases › Database concepts

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 9608_s16_qp_11.pdf

Keep practising this topic