Question

In: Operations Management

ABC Inc is a package delivery company that has branches all over Canada. The Sender (person...

ABC Inc is a package delivery company that has branches all over Canada. The
Sender (person who is sending a package) can drop a package to any of the
branches and pay the applicable fee and taxes. ABC staff members sort and forward
the packages to an office close to the destination addressees. Each branch office
has a manager along with other staff members. The manager creates a weekly
schedule for the staff members for the hours they are supposed to work in that
branch office. When a package arrives at the destination branch, the staff members
hand over this package to one of their couriers (ABC employee who delivers the
packages). Each courier is assigned to a delivery truck and given a route for
delivering packages. The courier delivers the package to Receiver’s address (person
who receivers the package) and takes his or her signatures which completes the
package delivery process. Please design and create a database to store important
data about ABC Company’s business operations.

a) Please create a Conceptual Data Model (may use Draw.io or any other
similar software), containing entities and their relationships as they exist in
the problem domain (including any M:M relationships)

b) Please create a Physical (Logical) Data Model using MySQL Workbench®
based on your conceptual model. Create a new schema named
Schema100123456 (replace 100123456 with your own student Id) and then
create a physical EER model in it, containing fully normalized tables with
appropriate columns and relationships among these tables (resolved as 1:M
only). Assign proper data types to columns and add appropriate keys &
constraints. Make sure that all relations are in 3NF

c) Now forward engineer this EER model to create tables and relationships and
INSERT 10-15 records per table.


d) Create the following Five queries (create and submit a separate script file for
these queries as explained later in this document- Please use intuitive
column names for queries. Add comments at the beginning of each query
with the Query No and briefly explain what this query achieves)

1. Create a query that returns Senders full names and addresses,
receiver’s full names and addresses, no of packages delivered and the
names of the couriers who delivered these packages. (Five results
minimum).


2. Create a query that lists all packages delivered by each courier during
the last week. (Five results minimum).

3. Create a query that returns the total number of packages received by
each branch during the last month and the total fee amount received
by that branch. (Five results minimum).

4. Create a query that would return the full names of all employees and
the hours they worked during a particular week for any of the
branches of ABC Inc. (Five results minimum).

5. During the holiday season, ABC company wants to send holiday
greeting cards to all people involved with ABC (clients, employees,
couriers) etc. so please create a query that returns a comprehensive
list consisting of Full names and addresses of every one in order to
create mailing labels.

Solutions

Expert Solution

Let’s follow below steps to create the EERD for ABC Company:

Step 1: List entities and sub entities:

  • Branch: The branch where a package can be dropped to be sent
  • Person: Entity that is of below types:
  •                 Sender: Person who sends the package
  •                 Receiver: Person who receives the package
  • StaffMember
  •                 Manager: Manager staff member
  •                 CourierStaff: The staff who delivers courier
  • Package: The actual package to be delivered from Sender to receiver by ABC staff

Step 2: List relationship between the entities:

1. Sender sends the package at Branch

2. Branch has a Manager

3. Manager creates weekly schedule for StaffMembers

4. A package has one sender, one reciver, one sending branch, one receiving branch and a courier staff.

Step 3: Assign attributes to entities:

**Primary keys are bold and foreign key has * before attribute name

1. Person(person_id, name, contact_number)

2. Sender(*person_id, sender_address)

3. Receiver(*person_id, receiving_address, isHome, isOffice, receiving_timing)

4. StaffMember(staff_id, name, contact_number, address, salary, position, branch): branch for a manager is where he is managing it and for CourierStaff is where he is working

5. Manager(*staff_id, mgr_start_date)

6. CourierStaff(*staff_id, driving_lic_no)

7. Package(pack_id, *sender_id, *receiver_id, sent_date, expected_delivery_date, deliver_date, weight, courier_staff_id, *sending_branch, *receing_branch)

8. StaffSchedule(*manager_id, *staff_id, week_start_date, work_start_time, work_end_time)

Step 4: create EERD in MYSQL Workbench:

____________________________________________________________________

Please up vote this answer. Your up vote is so valuable to me. Thank you so much.

I worked a lot to write a perfect answer.


Related Solutions

A delivery service company in Kuala Lumpur guarantees a refund of all charges if a package...
A delivery service company in Kuala Lumpur guarantees a refund of all charges if a package it is delivering does not arrive at its destination by the specified time. It is known from past data that a proportion p of the packages mailed through this company does not arrive at its destination by the specified time. given,mean=0.0117 standard deviation=0.0034 n=1000 (iii) What is the sampling distribution of ? Justify your answer. (iv) There is a 95% chance that falls in...
Q3 A package service company offers overnight package delivery to its business cus- tomers. It has...
Q3 A package service company offers overnight package delivery to its business cus- tomers. It has recently decided to expand its facilities to better satisfy current and pro- jected demand. Current volume totals two million packages per week at a price of $12 each, and average variable costs are constant at all output levels. Fixed costs are $3 million per week, and profit contribution averages one-third of revenues on each delivery (profit contribution=(p–AV C)Q). After completion of the expansion project,...
a package delivery service claims that 55% of all package arrive at the address late. Assuming...
a package delivery service claims that 55% of all package arrive at the address late. Assuming that conditions for binomial holds, if a sample size of 7 is randomly selected , what is the probability that at most 4 packages will arrive on time? what is the probability that at leadt one pavkage will arrive on time? what is the probability that exactly 4 packages will arrive on time?
3) ABC bank has many branches; XYZ bank has relatively few branches. Both banks are the...
3) ABC bank has many branches; XYZ bank has relatively few branches. Both banks are the same size - $100 billion in assets - and operate in a five state region. Compare/contrast likely differences in the expenses incurred by ABC relative to XYZ. 4) a) What are the reasons for “consolidation” of the financial services industry? b) When a low-risk firm combines with a high-risk firm, what can we say about the risk of the conglomerate relative to that of...
In c++ format please ABC Delivery promises to deliver any package from one location in Miami...
In c++ format please ABC Delivery promises to deliver any package from one location in Miami Dade County to another in 2 to 24 hours. They can handle packages from 0.1 to 100 pounds. Their rate table is below: Flat rate for all deliveries = $50 To that they add $0.50 per pound To that they add a speed surcharge of $100 if request is between 2 and 4 hours and $50 if request is between 5 to 7 hours....
The solution has to be written on C++ Visual Studio Thank you (Package Inheritance Hierarchy) Package-delivery...
The solution has to be written on C++ Visual Studio Thank you (Package Inheritance Hierarchy) Package-delivery services, such as FedEx®, DHL® and UPS®, offer a number of different shipping options, each with specific costs associated. Create an inheritance hierarchy to represent various types of packages. Use class Package as the base class of the hierarchy, then include classes TwoDayPackage and OvernightPackage that derive from Package. Base class Package should include data members representing the name, address, city, state and ZIP...
A package delivery service advertises that at least 90% of all packages brought in by 9:00...
A package delivery service advertises that at least 90% of all packages brought in by 9:00 a.m. for delivery in the same city will be delivered by noon. A random sample of 80 packages had 65 that were delivered by noon. a) Construct a 90% confidence interval for the proportion of packages delivered by noon. b) Construct a 99% lower confidence interval for the true proportion. c) What size sample is necessary to construct a 95% confidence interval with a...
Rostand Inc. operates a delivery service for over 70 restaurants. The corporation has a fleet of...
Rostand Inc. operates a delivery service for over 70 restaurants. The corporation has a fleet of vehicles and has invested in a sophisticated, computerized communications system to coordinate its deliveries. Rostand has gathered the following actual data on last year’s delivery operations: Deliveries made 38,600 Direct labor 31,000 direct labor hours @ $14.00 Actual variable overhead $157,700 Rostand employs a standard costing system. During the year, a variable overhead rate of $5.10 per hour was used. The labor standard requires...
ABC Delivery Company purchased a new delivery truck on January 1 with an original cost of...
ABC Delivery Company purchased a new delivery truck on January 1 with an original cost of $50,000. The company estimates it will use the truck for 5 years and drive a total of 100,000 miles. It plans to sell the truck at the end of the five years for $5,000. During the first year, the truck was driven 15,000 miles. What is the depreciation for the first year using the DoubleDeclining Balance method? $10,000 $18,000 $7,500 $20,000 $6,750 $9,000
Anna Abraham is the accounts payable clerk for Jiffy Delivery Service. This company runs 10 branches...
Anna Abraham is the accounts payable clerk for Jiffy Delivery Service. This company runs 10 branches in the San Diego area. The company pays for a variety of expenses. Anna writes the checks for each of the vendors and the controller signs the checks. Anna has decided she needs a raise and the controller has told her to wait for six months. Anna has devised a plan to get a raise on her own. She creates a new vendor for...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT