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

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

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

Official answer for Question 8

Part (b)

(iv)

(iv)

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

[4]
✓
SELECT STUDENT . LastName
✓
FROM STUDENT , CLASS-GROUP
✓
WHERE ClassID = "CS1" // WHERE ( ClassID = "CS1")
✓
AND CLASS-GROUP.StudentID = STUDENT.StudentID ;
✓
One mark per statement. Several statements may be on the same line.
✓
SELECT STUDENT.LastName
✓
FROM STUDENT INNER JOIN CLASS-GROUP
✓
ON CLASS-GROUP.StudentID = STUDENT.StudentID
✓
WHERE ClassID = "CS1" // WHERE ( ClassID = "CS1");

Mark scheme 9608_s16_ms_11.pdf →

Show text version of question

Question 8

Part (b)

(iv)

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.

(iv)

Write an SQL script to display the LastName of all students who attend the class whose

ClassID is CS1.

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

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

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

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

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

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

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

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

Question 11

Question 9 begins on page 12.

Question 12

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