Past-paper question · 2014 May-June · Paper 33 · Q2(d)

Question 2(d) 2014 · May-June · Paper 33 · 3 marks

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

Official answer for Question 2

Part (d)

Part (d)

SELECT PaintingReferenceNo, PaintingTitle

✓
(1)
✓
FROM Painting
✓
(1)
✓
WHERE ArtistName = 'Da Vinci';
✓
(1)
[3]

Mark scheme 9691_s14_ms_33.pdf →

Show text version of question

Question 2

Part (d)

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.
A
database is to be created. It will store data about artists, paintings, galleries and exhibitions.

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
  • in 2011, or

  • paintings by a number of artists.

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 (d)

Write a DML query to display the painting reference number and painting title for all paintings

by Da Vinci.

[3]
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 9691_s14_qp_33.pdf

Keep practising this topic