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

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

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

Official answer for Question 2

Part (e)

Part (e)

UPDATE ExhibitionPainting

✓
(1)
✓
SET LoanFee = 0
✓
(1)
✓
WHERE (ExhibitionTitle = 'Secrets and Silence')
✓
AND PaintingRefNo = 9065;
✓
(1)
[3]

Question 3

Mark scheme 9691_s14_ms_33.pdf →

Show text version of question

Question 2

Part (e)

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

The painting ‘The Guitar Player’ was in the ‘Secrets and Silence’ exhibition. The

ExhibitionPainting table has a record for this. In the record:

  • The painting is referred to by its reference number, 9065.
  • The loan fee is recorded as $10000. This is an error – there was no charge made for

the loan by the loaning gallery.

Complete the DML command to amend this record.

UPDATE

SET

WHERE (ExhibitionTitle = 'Secrets and Silence')

AND ( );

[3]

Question 6

Topic relevance

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

Keep practising this topic