Question: Advanced databases Case Study Study the following case study and answer the questions that are based thereon: NORTH TO SOUTH is a small privately owned
Advanced databases
Case Study Study the following case study and answer the questions that are based thereon:
NORTH TO SOUTH is a small privately owned delivery company situated in your local
neighbourhood. NORTH TO SOUTH has grown from strength to strength due to excellent service
and a wide variety of delivery options. The company at present is under pressure due to the
increase in customers, staff, drivers, vehicles and deliveries.
You have been contracted to design a database for NORTH TO SOUTH. The company opened their doors to the public months ago and requires a database to manage their customers, staff, drivers, vehicles, deliveries and billing. At present there is only one outlet, but a new franchised outlet will be opening in the next six months. The following has been provided:
CUSTOMER TABLE CUSTOMERI
D
FIRSTNAME SURNAME ADDRESS PHONENUM EMAIL
Bob Smith Water rd bobs@isat.com
Sam Hendricks Water rd shen@mcom.coz
a
Larry Clark
Summer
lane
larc@mcom.coza
Jeff Jones
Mountain
way
jj@isat.coza
Andre Kerk Main rd akerk@mcal.coza
STAFF TABLE STAFFID FIRSTNAME SURNAME POSITION PHONENUM ADDRESS EMAIL
Sally Du Toit Logistics Main
rd
sdut@isat.com
Mark Wright CRM Cape
Way
mwright@isat.com
Harry Sheen Logistics
Water
Street
hsheen@isat.com
Jabu Xolani Logistics
White
Lane
jxo@isat.com
Roberto Henry Packaging Cape
Street
rhenry@isat.com
DRIVER TABLE
DRIVERID FIRSTNAME SURNAME DRIVERCODE PHONENUM ADDRESS
Brett Marshall C Leopard creek
Tina Mtati C Cape rd
Richard Mvuyisi EC Circle lane
Jonathan Smith C Beach rd
Sisanda Buthelezi EB Summer lane
VEHICLE TABLE VINNUMBER VEHICLETYPE MILEAGE COLOUR MANUFACTURER
ZA Cutaway van chassis RED MAN
ZA Flatbed truck BLUE ISUZU
ZA Medium Standard
Truck
SILVER MAN
ZA Flatbed truck WHITE MAN
ZA Cutaway van chassis WHITE ISUZU
BILLING TABLE BILLID CUSTOMERID STAFFID BILLDATE
SEP
SEP
NOV
DEC
DEC DELIVERYITEMS TABLE DELIVERYITEMID DESCRIPTION STAFFID
House relocation
Office relocation
Delivery of specialized
consignments
Office relocation
Delivery of specialized
consignments
DRIVERDELIVERIES TABLE DRIVERDELIVERYID VINNUMBER DRIVERID DELIVERYITEMID
ZA
ZA
ZA
ZA
ZA
NORTH SOUTH DELIVERIES
Question
Create a PLSQL query that will display the combined customer name, bill date, description of the delivery and the vehicle that will be used for the delivery. In your query only display the deliveries taking place on the November
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
