Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

Discuss global cultural differences in GLOBE dimensions.

Answered: 1 week ago

Question

LO1 Discuss the objectives of human resource management.

Answered: 1 week ago