Question 2(c) 2014 · May-June · Paper 33 · 2 marks
Reveal official mark-scheme answer

Official answer for Question 2
Part (c)
Part (c)
Displays the Painting reference number
Question 33
Show text version of question
Question 2
Part (c)
Question 2
Paintings by various artists are on display in art galleries all over the world. When a gallery holds
an exhibition, it may display paintings:
- from its own stock,
- or borrowed from other galleries,
- or both.
Artist data consist of:
- artist name (unique).
Painting data consist of:
- a unique reference number (recognised by all galleries)
- painting title
- artist name
- date (year only)
- name of the gallery owning the painting.
Gallery data consist of:
- gallery name (unique)
- country.
An exhibition only takes place once at one gallery and shows either:
- paintings for a single artist only, e.g. the Da Vinci exhibition at the National Gallery in London
- paintings by a number of artists.
in 2011, or
Exhibition data consist of:
- exhibition title (unique)
- gallery name
- exhibition artist (if a single artist only, otherwise contains an empty string)
- start date
- closing date
- all paintings which are included in the exhibition.
Painting-in-exhibition data consist of:
- exhibition title (unique)
- painting reference number
- loan fee.
When a gallery lends a painting to another gallery, it may charge a loan fee.
Question 4
The database design consists of five entities. These are shown in the entity-relationship (E-R) diagram.
Gallery Exhibition
Features
ExhibitionPainting Artist
Owns Paints Painting
Part (c)
Additional data are to be stored about each artist as follows:
Artist(ArtistName, Nationality, YearBorn, YearDied)
The following Data Manipulation Language (DML) query is run.
SELECT PaintingRefNo FROM Painting, Artist WHERE (Artist.ArtistName = Painting.ArtistName) AND (YearBorn >= 1900) AND (YearDied <= 2000);
Identify what useful information is produced by the query.
Why this question appears here
71% assigned-topic match · Databases › DDL and DML
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 9691_s14_qp_33.pdf
