9. The Office. Dunder Mifflin Paper Company, Inc. hired us to build their database system. The...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
9. The Office. Dunder Mifflin Paper Company, Inc. hired us to build their database system. The company wants to keep the information of the employees (name, email, hire date, salary, phone numbers). An employee may have multiple phone numbers, but a given phone number can only belong to a single employee. Employees work for a branch, which is located in a given address and city. Branches are administrated by one manager, which must be one of the employees. No manager can administrate more than one branch. Moreover, an employee may be the supervisor for other employees, this way reflecting the hierarchy of the roles in the company. The office is full of many types of employees, but we want to keep additional information for salesmen (commission percentage they take in each sale) and warehouse staff. This is necessary since we warehouse staff require to fulfill a number of safety certifications, and we must also store the date for which the warehouse employee obtained each of the certifications. a) Draw an ERD to represent the given problem. Do not forget about notation, relationships, roles, cardinality, and participation. b) Translate the ERD into the relational model, identify primary keys and foreign keys for each table, enforce not null, unique, or any other constraints when needed. c) Write the SQL scripts to create the tables, constraints, and keys. 9. The Office. Dunder Mifflin Paper Company, Inc. hired us to build their database system. The company wants to keep the information of the employees (name, email, hire date, salary, phone numbers). An employee may have multiple phone numbers, but a given phone number can only belong to a single employee. Employees work for a branch, which is located in a given address and city. Branches are administrated by one manager, which must be one of the employees. No manager can administrate more than one branch. Moreover, an employee may be the supervisor for other employees, this way reflecting the hierarchy of the roles in the company. The office is full of many types of employees, but we want to keep additional information for salesmen (commission percentage they take in each sale) and warehouse staff. This is necessary since we warehouse staff require to fulfill a number of safety certifications, and we must also store the date for which the warehouse employee obtained each of the certifications. a) Draw an ERD to represent the given problem. Do not forget about notation, relationships, roles, cardinality, and participation. b) Translate the ERD into the relational model, identify primary keys and foreign keys for each table, enforce not null, unique, or any other constraints when needed. c) Write the SQL scripts to create the tables, constraints, and keys.
Expert Answer:
Answer rating: 100% (QA)
Solution Answer a To make the ERDiagram we must considered the constraints given in the question Her... View the full answer
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
Given the business rule an employee may have many degrees, discuss its effect on attributes, entities, and relationships.
-
Dunder Mifflin Paper Company is considering purchasing a new stamping machine that costs $400,000. This new machine will produce free cash inflows of $150,000 each year at the end of years 1 through...
-
Marcelle's Boutiques, which is located in Iowa City, Iowa, has identified the following items for possible inclusion in its December 31, 2005 year-end inventory. a. Merchandise Marcelle's shipped to...
-
Q3. Modulus of rupture of concrete is a measure of a) flexural tensile strength b) direct tensile strength c) compressive strength d) split tensile strength Q4. For a longitudinal reinforcing bar in...
-
Why are investors and managers concerned about stock market efficiency?
-
Intercompany transactions of a consolidated group can be subject to a "matching rule" and an "acceleration rule." a. Define both terms. b. As a tax planner structuring an intercompany transaction,...
-
A team-building exercise has teams build a house of cards as high as possible. However, the cards for different teams are of different sizes. Team 1 uses \(10 \mathrm{~cm} \times 10 \mathrm{~cm}\)...
-
Assume that the auditors encountered the following sepa-rate situations when deciding on the report to issue for the current- year financial statements. 1. The auditors decided that sufficient...
-
Question is shown in the photo A statistics instructor prepares four versions of an exam. In a class of 46 Students are randomly assigned to take one of the four versions as follows: Version 1...
-
Comparative balance sheets for 2021 and 2020 and a statement of income for 2021 are given below for Metagrobolize Industries. Additional information from the accounting records of Metagrobolize also...
-
After decades of allowing only 15 liquor licenses, the zoning board of Sea Isle City, New Jersey decided to issue 5 additional permits in 2022, and 5 new bars are planning to open in the summer of...
-
Video: (if you want to watch it) https://www.imdb.com/title/tt1967596/ Stores: Giant Eagle Walmart Whole foods Stop and Shop Kaune's Neighborhood Market Please answer these questions for each of the...
-
What is the value of a bond that has a par value of $1,000, a coupon rate of 17.24% paid annually and that matures in 8 years? Assume a required rate of return on this bond is 13.53%
-
The integrated rate law allows chemists to predict the reactant concentration after a certain amount of time, or the time it would take for a certain concentration to be reached. The integrated rate...
-
You are looking at purchasing a home and would like to obtain $100,000 mortgage amortized over 25 years. The current interest rate on a 3-year term is 7% compounded semi-annually. What will your...
-
A firm reported year-end sales of $20 million. It listed $7 million of inventory on its balance sheet. Using a 365-day year, how many days did the firm's inventory stay on the premises?
-
CC: "So I work at this Engineering firm, and everything was great until they accelerated the deadlines, and I just can't concentrate" HPI: HB is a 60-year-old Caucasian male who presents by himself...
-
Why should you not model a decision variable as a random variable with a probability distribution?
-
As the accountant for Monroe Trucking Company, you are preparing the companys annual return, Form 940 and Schedule A. Use the following information to complete Form 940 and Schedule A on pages 5-50...
-
In September 2016, Painter Wax Corporation began operations in a state that requires new employers of one or more individuals to pay a state unemployment tax of 4.1% of the first $7,000 of wages paid...
-
Are there any exceptions to the protection afforded older workers by the Age Discrimination in Employment Act?
-
List some ways you might obtain job-related experience.
-
Identify sources of information to find out more about the career in which you are interested.
-
Explain your rights as an employee.
Study smarter with the SolutionInn App