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