The data requirements for a Human Resources (HR) schema are summarized as follows: + Each employee has an identification number, name, phone number, e-mail address, salary, and manager. Some employees earn commissions in addition to their salary. Each employee has a job, such that each job has an identification code, job title, and a minimum and maximum salary range for the job. The company keeps track of the date when the employee hired the job. Some employees have been with the company for a long time and have held different positions within the company. Each employee is assigned to a department, and each department is identified either by a unique department number or a short name, and has a manager. + Each department is associated with one location, and each location has a unique id and a full address that includes the street name, postal code, city, state or province, and the country. The company is regionally diverse, so it tracks the regions of its warehouses and departments, such that each region has a unique id, a unique name. The company records a country id, name and the region where the country is located geographically for each country. When an employee resigns, the duration the employee was working (start date and end date), the job identification number, and the department are recorded. 1- Draw an ER diagram for the schema. Specify structural constraints on each relationship type. 2- Design the relational schema for this application.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Exercise 1:
The data requirements for a Human Resources (HR) schema are summarized as
follows:
Each employee has an identification number, name, phone number, e-mail
address, salary, and manager. Some employees earn commissions in
addition to their salary.
Each employee has a job, such that each job has an identification code, job
title, and a minimum and maximum salary range for the job.
The company keeps track of the date when the employee hired the job.
Some employees have been with the company for a long time and have
held different positions within the company.
Each employee is assigned to a department, and each department is
identified either by a unique department number or a short name, and has
a manager.
Each department is associated with one location, and each location has a
unique id and a full address that includes the street name, postal code, city,
state or province, and the country.
The company is regionally diverse, so it tracks the regions of its warehouses
and departments, such that each region has a unique id, a unique name.
+ The company records a country id, name and the region where the country
is located geographically for each country.
When an employee resigns, the duration the employee was working (start
date and end date), the job identification number, and the department are
recorded.
1- Draw an ER diagram for the schema. Specify structural constraints on each
relationship type.
2- Design the relational schema for this application.
Transcribed Image Text:Exercise 1: The data requirements for a Human Resources (HR) schema are summarized as follows: Each employee has an identification number, name, phone number, e-mail address, salary, and manager. Some employees earn commissions in addition to their salary. Each employee has a job, such that each job has an identification code, job title, and a minimum and maximum salary range for the job. The company keeps track of the date when the employee hired the job. Some employees have been with the company for a long time and have held different positions within the company. Each employee is assigned to a department, and each department is identified either by a unique department number or a short name, and has a manager. Each department is associated with one location, and each location has a unique id and a full address that includes the street name, postal code, city, state or province, and the country. The company is regionally diverse, so it tracks the regions of its warehouses and departments, such that each region has a unique id, a unique name. + The company records a country id, name and the region where the country is located geographically for each country. When an employee resigns, the duration the employee was working (start date and end date), the job identification number, and the department are recorded. 1- Draw an ER diagram for the schema. Specify structural constraints on each relationship type. 2- Design the relational schema for this application.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Enhanced ER Model
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education