Second Assignment on Data Modeling 15
Second Assignment on Data Modeling 15
1. Normalize the above table and show it when the table is at each normal form
2. Draw ERD (use chen notation)
3. Prepare the schema of proposed database
4. Write the SQL code
Student Table
studentId
Fname
Lname
Age
CourseNo
Grade
Faculty
Faculty Head
Department Name
Departmen Head
DepartmentID
Istructor
StudentCourse
InstructorCourse
Department
2NF Tables:
Student Table
- studentId (PK)
- Fname
- Lname
- Age
Course Table
- CourseNo (PK)
- Grade
- Instructor
- StudentCourse
- InstructorCourse
Faculty Table
- Faculty (PK)
- Faculty Head
Department Table
- DepartmentID (PK)
- Department Name
- Department Head
Fname VARCHAR(50),
Lname VARCHAR(50),
Age INT,
DepartmentID INT,
);
Grade CHAR(2),
InstructorID INT,
);
FacultyName VARCHAR(50),
FacultyHead VARCHAR(50)
);
DepartmentName VARCHAR(50),
DepartmentHead VARCHAR(50)
);
InstructorName VARCHAR(50)
);