Oracle Database MySQL 5.6 Developer — Question 32

You have been tasked to create a database that will store a list of all managers and the employees who report directly to them. The following is stipulated:
✑ No manage is managing more than three people.
✑ No employee can work for more than one manage.
Which of these designs represents a normalized schema that meets the project requirements?

Answer options

Correct answer: A

Explanation

Option A correctly implements a table structure that allows for a maximum of three employees to be linked to a manager while enforcing uniqueness on the manager-employee relationship. Option B lacks the proper constraints for managing the employee relationships, while Option C does not adequately allow for multiple employees under a single manager. Option D is incorrectly named and also fails to establish the necessary relationships between managers and employees.