Past-paper question · 2015 October-November · Paper 33 · Q1(d)

Question 1(d) 2015 · October-November · Paper 33 · 3 marks

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

Official answer for Question 1

Part (d)

Part (d)

✓
Creates a new record in the ORDER table
✓
Amends an existing record in the ORDER table
[1]
✓
Assigns the Dispatched attribute a TRUE value
[1]
✓
Creates a new attribute Dispatched
✓
Changes all the existing records for customer 647
✓
Changes one record for customer 647
[1]
✓
Remove 1 mark for each additional tick.

Mark scheme 9691_w15_ms_33.pdf →

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.

A
customer never places more than one order on any one day.

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

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

Keep practising this topic