Question 1(d) 2015 · October-November · Paper 33 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (d)
Part (d)
Show text version of question
Question 1
Part (d)
Question 1
Customers purchase products by placing an order on a company’s website.
- Each customer has recorded:
customer ID name city
- Each product has recorded:
product ID description retail price
- Each order has recorded:
customer ID product ID order date order dispatched? (TRUE/FALSE) dispatch date
An order is always for one product only. Each product can be purchased by a number of different customers. The customer may order the same product many times.
Over a period of time, customers will place many orders.
The data are to be stored in a relational database.
Part (d)
Study this DML command.
UPDATE ORDER SET Dispatched = TRUE WHERE CustomerID = 647 AND OrderDate = #12/10/15#
Tick (✓) the three correct statements:
Creates a new record in the ORDER table Amends an existing record in the ORDER table Assigns the value TRUE to the Dispatched attribute Creates a new attribute Dispatched Changes all the existing records for customer 647 Changes one record for customer 647
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_w15_qp_33.pdf
