Question 7(d) 2018 · October-November · Paper 11 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 7
Part (d)
Question 1
mark per bullet point
Question 4
- SELECT Title, Rating
- FROM MOVIE, MOVIESCHEDULE
- WHERE MOVIE.MovieID = MOVIESCHEDULE.MovieID
- AND MOVIESCHEDULE.ScreenNumber = 3;
- SELECT Title, Rating
- FROM MOVIE INNER JOIN MOVIESCHEDULE
- ON MOVIE.MovieID = MOVIESCHEDULE.MovieID
- WHERE MOVIESCHEDULE.ScreenNumber = 3;
Show text version of question
Question 7
Part (d)
Question 7
A movie theatre has a relational database that stores the movie schedule, and information about
the movies. The theatre has several screens that play movies at the same time.
The database has three tables to store information about the movies, the screens and the movie schedule.
MOVIE(MovieID, Title, Length, Rating)
SCREEN(ScreenNumber, NumberSeats)
MOVIESCHEDULE(ScheduleID, MovieID, ScreenNumber, Time)
Part (d)
Write an SQL script to display the title and rating of all movies scheduled to play on screen
number 3.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...............................................................................................................................................[4]
Question 16
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge International Examinations Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cie.org.uk after the live examination series.
Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.
Why this question appears here
71% assigned-topic match · Programming › Constructs
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_w18_qp_11.pdf
