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

Official answer for Question 2
Part (f)
Part (f)
Question 31
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
- A unique registration number
- A vehicle type code. Vehicles are coded as SC – Small Car, LC – Large Car or V – Van.
- Vehicle mileage
- Unique Customer ID
- Customer address
- 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
- Hire charge
Vehicle data consist of:
Customer data consist of:
Data for each hire transaction consist of:
licence and this is recorded. This check is done when the customer shows their driving licence when they collect the vehicle.
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 ;
Question 6
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
