Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Database Design Assignment Wedgewood Pacific ( WP ) company was founded in 1 9 5 7 in Seattle. The company has departments with unique names
Database Design Assignment
Wedgewood Pacific WP company was founded in in Seattle. The company has departments with unique names administration accounting, etc. Every department has its own unique budget code, office number, and phone. The company has employees, each with a unique employee number. Every employee is associated with one department. Employees have first name, last name, position, a supervisor, phone, and email.
The company has a number of projects, each with a unique project ID Projects also have descriptive names. Every project is associated with only one department and has a maximum hoursthe maximum number of employee work hours that can be allocated to the project a start date, and an end date. Every project can have many employees assigned to it and every employee can be assigned to zero, one, or more projects. It is important for the company to know how many hours each employee has worked for every project.
A Identify the different themes or entities in the above scenario eg EMPLOYEE and their respective attributes.
B Use the standard notation taught in previous exercises to create wellformed relations for each of the themes identified above to store WPs data.
Hint: Below is the structure of one of the relations. Note that primary keys are underlined, and foreign keys are italicized.
EMPLOYEEEmployeeNumber FirstName, LastName, Department, Position, Supervisor, OfficePhone, EmailAddress
C List at least referential integrity constraints for the database.
D Browse to section of your textbook. Using the data in Figures : a b c and d answer the following questions:
a What is the phone number for the Finance department?
b How many employees work for the Finance department?
c Who is the CFO? What is the name of his supervisor?
d Who does the CFO supervise?
e How many hours in total have the employees supervised by the CFO worked on projects?
f How many hours in total have the employees supervised by the CFO worked on projects owned by the Finance department?
E Draw the Entity Relationship Diagram ERD for WP we will talk about ERD next time in class
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started