Past-paper question · 2015 October-November · Paper 31 · Q1(c)

Question 1(c) 2015 · October-November · Paper 31 · 3 marks

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

Official answer for Question 1

Part (c)

Part (c)

SELECT ProductID

[1]
✓
FROM PRODUCT
[1]
✓
WHERE RetailPrice>=100 AND RetailPrice<=200
[1]

Mark scheme 9691_w15_ms_31.pdf →

Show text version of question

Question 1

Part (c)

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

Write a data manipulation language (DML) query to find the ProductID of all products with:

  • a minimum retail price of $100
  • a maximum retail price of $200

Use the keywords SELECT, FROM and WHERE.

...................................................................................................................................................

...................................................................................................................................................

...............................................................................................................................................[3]

Question 4

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

Keep practising this topic