Question: Create a database that will record employees and their salary histories. For each employee record their first name, last name, DOB and start date and

Create a database that will record employees and their salary histories. For each employee record their first name, last name, DOB and start date and termination date (if applicable). The salary history should include the $alary, the range of dates for which the salary is effective (the current salary will not have an end date). The database should also record a history of which departments they have worked for. An employee may only work for one department at a time. For departments you only need to record the department name.

1. Write the business rule for the database (15 points)

2. Create an ERD for the database (15 points)

3. Create INSERTs for the entities. Have a least three employees and 2-4 salary ranges per employee (15)

4. Write SQL queries to display the salary and department history for a given employee (5 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!