HotelInfantesAgres - Bawat tanong, may sagot. Logo

In Computer Science / Senior High School | 2025-08-18

. A company has a number of employees. The attributes of EMPLOYEE include Employee_ID (identifier), name, Address, and Birthdate. The company also has several projects, Attributes of PROJECT include Project ID (identifier), Project Name, and Start Date. Each employee may be assigned to one or more projects, or may not be assigned to a project. A project must have at least one employee assigned, and may have any number of employees. assigned. An employee's billing rate may vary by project, and the company wishes to record the applicable billing rate (Billing Rate) for each employee when assigned to a particular project.​

Asked by jashmirevillacorta

Answer (1)

The relationship between the employee and the project is many-to-many in this scenario. Each project may involve more than one employee, and each employee may work on more than one project. You should use a junction (associative) table to handle the different billing rates. Table of Assignments: Employee ID (FK) Project ID (FK) Rate of Billing This table keeps track of the precise billing rate for every assignment and associates workers with projects. It guarantees clear tracking of all project assignments and billing information.

Answered by BrainlyModIsBusy | 2025-08-20