Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Departments: DepartmentID ( Primary Key ) DepartmentName DepartmentNumber ManagerID ( Foreign Key referencing EmployeeID ) StartDate Employees: EmployeeID ( Primary Key ) Name SSN Address

Departments:
DepartmentID (Primary Key)
DepartmentName
DepartmentNumber
ManagerID (Foreign Key referencing EmployeeID)
StartDate
Employees:
EmployeeID (Primary Key)
Name
SSN
Address
Salary
Gender
Birthdate
DepartmentID (Foreign Key referencing DepartmentID)
SupervisorID (Foreign Key referencing EmployeeID)
Projects:
ProjectID (Primary Key)
ProjectName
ProjectNumber
Location
DepartmentID (Foreign Key referencing DepartmentID)
HoursWorked:
EmployeeID (Composite Foreign Key referencing EmployeeID)
ProjectID (Composite Foreign Key referencing ProjectID)
HoursPerWeek
Dependents:
DependentID (Primary Key)
EmployeeID (Foreign Key referencing EmployeeID)
Name
Gender
Birthdate
Relationship
In this structure:
The DepartmentID in the Employees table links an employee to a specific department.
The ManagerID in the Departments table designates the manager of a department, linking to an employee in the Employees table.
The SupervisorID in the Employees table designates the direct supervisor of an employee, linking to another employee in the same table.
The DepartmentID in the Projects table associates a project with a particular department.
The EmployeeID and ProjectID in the HoursWorked table create a many-to-many relationship between employees and projects, allowing an employee to work on multiple projects, and a project to have multiple employees.
The EmployeeID in the Dependents table associates a dependent with a specific employee.

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

Step: 3

blur-text-image

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

Prepare a short profile of Henry words worth Longfellow?

Answered: 1 week ago

Question

What is RAM as far as telecommunication is concerned?

Answered: 1 week ago

Question

Question 1: What is reproductive system? Question 2: What is Semen?

Answered: 1 week ago

Question

=+ Are there closed-shop requirements or practices?

Answered: 1 week ago