首页 > > 详细

代写BTM 382 |辅导Database Management

BTM 382 Database Management
Assignment 2
For each question you must:
1- Draw the ERD in Visual paradigm and save the file. Rename the diagram with the question
number. For example, for the ERD of question 1, name the vpp file as: 1.vpp
2- Insert a text box and write your name and student id.
Submit:
1- One PDF file including all the answers and pictures of the ERDs, and
2- all .vpp ERD files
In total you need to submit one PDF and Three vpp files (1.vpp, 2.vpp, and 3.vpp)
1- Customer Booking Scenario
a) Draw an ERD for the following relational schema:
CUSTOMER (CUS_ID, CUS_First_Name, CUS_Last_Name, CUS_Date_of_Birth,
CUS_Address, CUS_Email, CUS_Phone_Numebr)
BOOKING (BOK_Reference, BOK_Date)
The two entities are related with the following business rule:
• Each CUSTOMER may book many BOOKINGS.
• Each BOOKING is booked by one and only CUSTOMER.
b) Extend the existing ERD with APPOINTMENT, SERVICE, and EMPLOYEE entities.
Make sure to add relevant attributes to each entity. The following business rules apply:
• Each BOOKING consists of maximum of three APPOINTMENTS.
• Each APPOINTMENT belongs to one and only BOOKING.
• Each APPOINTMENT comprises of one and only one SERVICE.
• Each SERVICE may be offered in many APPOINTMENTS.
• Each EMPLOYEE may confirm many APPOINTMENTS.
• Each APPOINTMENT is confirmed by one and only one EMPLOYEE.
2- Use the following business rules to create a Crow’s Foot ERD. Write all appropriate
connectivities and cardinalities in the ERD. Make sure to add the following attributes in
the appropriate entities: (Division name, Department name, Employee first name,
Employee last name, Employee Email, Employee Date of birth, Project name, Project start
date, the date that the project is assigned to an employee)
BTM 382 Database Management
• A department employs many employees, but each employee must be employed by one
department.
• A division operates many departments, but each department is operated by one division.
• An employee may be assigned many projects, and a project may have many employees
assigned to it.
• Each employee is managed by another employee (supervisor), and each supervisor
manages many employees
• A project must have at least one employee assigned to it.
• One of the employees manages each department, and each department is managed by only
one employee.
• One of the employees runs each division, and each division is run by only one employee.
3- Consider the following scenario:
Customers take their cars to a service center. They may receive different services. They
may purchase parts. At the end, they pay for the services and/or parts they receive.
a) Write the description of operation.
b) Write business rules
c) Draw the ERD. Make sure to add at least 4 attributes to each entity.

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!