Question 1(c) 2015 · October-November · Paper 33 · 3 marks
Reveal official mark-scheme answer
Official answer for Question 1
Part (c)
Part (c)
SELECT ProductID
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.
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
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
