Design normalised tables in 3NF for the ER diagram drawn in part (c), with the required integrity constraints
To design normalized tables in 3NF (Third Normal Form) based on an ER diagram, the steps involved include identifying the entities, relationships, and attributes, and then applying the normalization rules progressively from 1NF (First Normal Form) through 2NF (Second Normal Form) and ultimately to 3NF. Below, we will discuss how to achieve the normalized form based on an ER diagram without seeing the actual diagram. For this example, let’s assume a simple ER diagram with entities like `Employee`, `Department`, and `Project`, with attributes associated with each and relationships between them.
### Step 1: Identify Entities, Attributes, and Relationships
Assuming the following entities and relationships in the ER diagram:
1. Employee:
- Attributes: `EmpID` (Primary Key), `EmpName`, `EmpSalary`, `DeptID` (Foreign Key referencing Department)
2. Department:
- Attributes: `DeptID` (Primary Key), `DeptName`, `DeptLocation`
3. Project:
- Attributes: `ProjID` (Primary Key), `ProjName`, `EmpID` (Foreign Key referencing Employee)
4. Employee_Project (Many-to-Many relationship between Employee and Project):
- Attributes: `EmpID` (Foreign Key), `ProjID` (Foreign Key), `Role`, `HoursWorked`
### Step 2: Convert the ER diagram into Unnormalized Relations
Before applying any normalization, the unnormalized relations corresponding to the entities and relationships in the ER diagram are:
1. Employee:
- EmpID (Primary Key), EmpName, EmpSalary, DeptID
2. Department:
- DeptID (Primary Key), DeptName, DeptLocation
3. Project:
- ProjID (Primary Key), ProjName, EmpID (Foreign Key)
4. Employee_Project:
- EmpID (Foreign Key), ProjID (Foreign Key), Role, HoursWorked
### Step 3: Apply 1NF (First Normal Form)
1NF requires that each column contains atomic (indivisible) values, and there must
______ __________ ________ __________ _________ _______ _______ ______.
________ ______ _____ _____ _________ ______ _____ __________ _________ _____ ________ _____.
_________ __________ __________ _____ _____ ___ ______ ___ ______ _____ ________.
___ ________ _________ ________ _____ ____.
___ ______ ____ __________ ______ _____ ______ ______ ________ ________ _______ ______.
________ ____ _________ ____ _________ ______ ________ ____ _______ ______.
_________ _______ _____ __________ __________ ________ ________ _____ _________ _______ _________.
__________ _______ _____ ___ _______.
_____ ____ ____ ___ _____ ________ __________ ________ ____ ___.
_________ ___ _____ ________ _________ _____.
_____ ______ ____ ____ _______ ____.
__________ __________ ____ ______ ____ ___.
____ _______ _____ ______ ________ ______ ________ _______.
_____ __________ _________ _____ __________.
_____ _______ ______ ___ _________ ____ _______ ___ _________ ___.
________ ______ _______ _____ _____ _____.
__________ ________ ______ _____ _________ _______ _____ _____ __________ _________ __________ _______.
___ ___ ________ _______ ______ __________.
___ _______ ____ __________ _______ __________ ______ ________.
_________ _________ ______ __________ ____ ______ _______ _____ _______ ____ _______ ________.
_____ __________ ______ ____ _______.
__________ _______ _____ __________ ________ ___ ________ ________.
____ _______ _____ ______ ______ _______.
______ __________ ________ __________ ______ ____ __________ ________.
__________ ________ ___ ________ ______ _______ ______ ________ _________.
______ __________ _____ ______ _____ _______ _________.
___ ___ ______ _____ _________ _____ __________ __________ ______ ________.
______ ________ _______ _________ __________ ___ _________ ______ __________.
______ ________ _________ ____ _______ _____ __________ _____ ______ ________.
___ ____ __________ ______ ___ ___ _________ ___ ________ ____ ________.
_______ _______ _______ _____ ____.
_____ _________ ____ _____ _________ __________ __________ _________ ________ __________ _______ ______.
____ ________ __________ _____ ___ ______ _____.
__________ __________ ____ _______ __________ ___ _______ ___ ____ _______.
_______ ______ ________ _____ ____ _____ _____.
_________ ___ ____ _________ __________ ______ _______.
____ __________ ____ __________ _________ _______ _____ __________ _______ _______.
__________ _________ ___ _____ ___ _________.
_____ ___ ______ ___ _______ __________ ________ _______.
_____ ___ _________ _____ _____ ___ ________ ______ _________ __________ ____ ____.
_________ ___ ___ __________ ____ _____ ____ __________ ________.
______ __________ ______ _________ __________ ____ ______ _________ ___ ____.
_____ ___ ___ ____ ___ _______ __________.
___ ___ _______ _______ ________ _______ _______ _____ ______.
____ ___ __________ ___ ______ _____ ___ _____ _________.
________ ______ ___ _____ ___ _________ ____ _________ ________ ___.
___ _______ __________ _____ _____ _________ _______ ___ _________ _______.
_____ _____ __________ ______ ______ _____ _________ ________ _________ __________ __________.
____ __________ ________ ____ ________ ____ ______ _________ _____ ________ _____.
_____ __________ ______ ________ __________.
_______ ________ ____ _____ ____ __________ ____ ______ ___.
__________ ___ ____ ________ ______ _______ _____ _________ __________.
_______ ___ _______ _____ ___ __________ __________ ______ ____ ________.
_______ ___ ____ _______ _____ _______ ________ _________ ______.
________ _______ ______ __________ ___ ________ _______ ___.
______ ___ ______ _________ ________ ______ _______ ________ __________ __________.
_______ ____ _________ ___ _________ _______ ______.
________ ____ ________ _________ ___ ___ ________ __________ ________ _____.
___ __________ _____ ______ _____ _______.
____ _______ __________ __________ __________ ______ _________ _____ ______ _______ _____ _________.
____ ______ ________ _________ ________.
_____ ______ __________ ______ _____ _________ _________ _____ _____.
_________ ________ ________ ________ __________ ________ _________ ______ ________ ____ ____.
______ _____ _______ _______ _______ _______ _______ __________ _________ _________ __________ _____.
__________ _________ __________ ____ _____ _________ _______.
_______ ___ _______ ___ _________ __________ ________ ___ ______.
______ __________ ________ ____ _________ _________ _________.
______ ________ ______ ____ ____ _________ _______.
________ _______ ________ _______ ______ ____ _______ __________ _________.
_____ _____ _____ ____ _________ _____ ___ _______ ______.
_________ ________ ___ ___ _________ __________ __________ __________.
___ ____ ____ ____ _____ ____ ______ _____ ___ __________ ______ ___.
___ ________ _______ _________ __________ __________ _______ _______ ____ ________ ____.
_________ _____ ______ ________ ______ ____ ____ ___ ______.
________ __________ ______ ________ ___ _______ __________.
_____ ___ ___ ________ __________ ________ _____ ___ _________.
___ _______ ______ ____ _______ ___ ________.
____ _______ ____ ________ __________ __________ ________ __________.
________ _____ ___ _________ ______ ____.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required