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...


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

Extracted 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.

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here