Are you pressed for time and haven’t started working on your assignment yet? Would you like to buy an assignment? Use our custom writing services for better grades. Even if your deadline is approaching fast, our writers can handle your task right when you need it.
Order a Similar Paper Order a Different Paper
Trimester 2 Assignment 2 2014
Due Date: Friday 19th September, 2014
DoeLiver (Do Deliver) is a new courier business that is being set up.
The basic service provided by this courier service is timely pickup and delivery of items for clients. They pride themselves on being able to cater to any size items, because their couriers use a variety of transports.
A call is received by a client, the urgency of the delivery is ascertained by the operator and a job is created with the relevant details. The delivery address, the pickup address, the urgency of the job and the size of the item are recorded. The application software will scan the database for unfinished jobs and the location and status of working couriers, and then allocate the job to the courier best able to deliver the job in the fastest time. Once a courier has completed a job, he or she calls in and registers the completion and checks for the next job pickup.
The courier service wishes to keep a record of each client. They also wish to record the duration of each job, in order to provide statistics on time taken to complete a job at given times of the day through specific areas. Details of each driver (courier) are also kept, along with size and capacity of their vehicle. This is important, so that couriers with motor bikes and couriers with vans are sent to jobs which they can handle.
They are also intending to provide a website that clients can use to enter delivery requests, without having to go through the phone. They will also be able to check on the status of their jobs through the website as well.
The whole companyâ€™s operations will be based on the data stored in this database model. It is important that due consideration is given to provide the infrastructure required to develop this system. The foundation to the entire system relies on this database model.
Pass/Credit Level – Design
To assist this company, try and come up with a small database design for their new system.
Provide the following:
â€¢ Entity Relationship Diagram.
â€¢ Relational Model (showing fields, primary keys, foreign keys and concatenated keys).
â€¢ Justify the choices you have made. Are the entities and relationships you have chosen free of problems ? What assumptions have you made ?
Higher Level â€“ Construct and Test
Create the database tables using SQL statements in your own database. Include
â€¢ CREATE TABLE queries â€“ that create each of the tables in your design
â€¢ INSERT INTO queries â€“ that insert values into your tables (at least 5 rows per table)
Write some queries to test out the database.
â€¢ One query should be a simple one involving one table and a selection criteria. â€¢ The second query should involve a join (at least 2 tables)
â€¢ The third should be a group by query.
â€¢ Fourth query that involves a nested query.