Past-paper question · 2014 May-June · Paper 31 · Q2(f)

Question 2(f) 2014 · May-June · Paper 31 · 2 marks

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

Official answer for Question 2

Part (f)

Part (f)

✓
UPDATE Hire
✓
SET LicenceChecked = TRUE // “YES” // equivalent
✓
(1)
✓
A. Any sensible attribute name + value
✓
WHERE CustomerID = '085' AND
✓
StartDate = #13/07/2014#
✓
// DateBooked = #05/04/2014#
✓
(1)
[2]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
GCE A LEVEL – May/June 2014
✓
9691

Question 31

Mark scheme 9691_s14_ms_31.pdf →

Show text version of question

Question 2

Part (f)

Question 2

A company hires vehicles to customers. A database is to be created to record data for all hire

transactions. The company has a number of depots in different towns. Each town has one depot only. A number of vehicles are available for hire. Each vehicle is based at one of the depots. Every vehicle starts and ends a hire from its base depot. Depot data consist of:

  • Depot town name
  • Depot address
  • Vehicle data consist of:

  • A unique registration number
  • A vehicle type code. Vehicles are coded as SC – Small Car, LC – Large Car or V – Van.
  • Vehicle mileage
  • Customer data consist of:

  • Unique Customer ID
  • Customer address
  • Data for each hire transaction consist of:

  • Customer ID
  • Vehicle registration number
  • Date the booking was made
  • Start date of the hire
  • Return date
  • Driving licence check. A check is carried out to confirm that customers have a valid driving
  • licence and this is recorded. This check is done when the customer shows their driving licence when they collect the vehicle.

  • Hire charge

Part (f)

On 05/04/2014, customer 085 booked a vehicle hire. This hire will start on 13/04/2014.

When the customer arrives, the receptionist will check their driving licence. If the licence is valid, the value of the licence check attribute, of the correct Hire record, must be updated.

Complete the Data Manipulation Language (DML) command to make the change.

UPDATE Hire

SET

WHERE CustomerID = '085' AND ;

[2]

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_31.pdf

Keep practising this topic