Question: Objective: In this assignment, you will practice normalizing a relational database schema to reduce redundancy and improve data integrity. You will perform normalization from 1

Objective: In this assignment, you will practice normalizing a relational database schema to reduce redundancy and improve data integrity. You will perform normalization from 1st Normal Form (1 NF ) to 3rd Normal Form (3 NF ), ensuring that all tables are appropriately structured.
Unnormalized Table (UNF):
Course Table
\begin{tabular}{|l|l|l|l|l|l|l|l|l|}
\hline StudentID & StudentName & StudentPhone & CourseID & CourseName & InstructorID & InstructorDetails & EnrollmentDate & Grades \\
\hline 101 & Alice & \begin{tabular}{l}
\(555-1234\),\\
\(555-5678\)
\end{tabular} & CSE101 & Databases & 201 & \begin{tabular}{l}
Prof. Smith, \\
Room 202
\end{tabular} & \(2023-09-01\) & A, B \\
\hline 102 & Bob & \(555-9876\) & CSE101 & Databases & 201 & \begin{tabular}{l}
Prof. Smith, \\
Room 202
\end{tabular} & \(2023-09-01\) & B \\
\hline 101 & Alice & \begin{tabular}{l}
\(555-1234\),\\
\(555-5678\)
\end{tabular} & MAT101 & Calculus & 202 & \begin{tabular}{l}
Prof. Jones, \\
Room 303
\end{tabular} & \(2023-09-02\) & B \\
\hline 103 & Charlie & \(555-8765\) & MAT101 & Calculus & 202 & \begin{tabular}{l}
Prof. Jones, \\
Room 303
\end{tabular} & \(2023-09-02\) & A \\
\hline 101 & Alice & \begin{tabular}{l}
\(555-1234\),\\
\(555-5678\)
\end{tabular} & PHY101 & Physics & 203 & \begin{tabular}{l}
Prof. Brown, \\
Room 101
\end{tabular} & \(2023-09-03\) & A \\
\hline
\end{tabular}
Step 1: 1st Normal Form (1NF)
- In the first step, ensure that all the data is atomic (each cell contains a single value) and that the table has no repeating groups.
- Task: Convert the unnormalized table into \(1 N F \). List any issues found in the table and how you fixed them.
Step 2: 2nd Normal Form (2NF)
- Identify the primary key of the table (a composite key may be necessary). Check for partial dependencies, where non-key attributes depend on part of a composite key.
- Task: Decompose the 1 NF table into 2NF by removing partial dependencies. Create new tables if necessary and provide a new schema.
Step 3: 3rd Normal Form (3NF)
- In this step, you will remove transitive dependencies, where non-key attributes are dependent on other non-key attributes.
- Task: Decompose the 2NF table into 3NF by eliminating transitive dependencies. Create new tables if necessary and provide a new schema.
Objective: In this assignment, you will practice

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!