Assignment_4DBMS (1)
Assignment_4DBMS (1)
3. Add a foreign key constraint in STUDENT against DeptCode column which references department.
© IT Department Page 1 of 3
4. Create table: FACULTY
6. Alter the table Faculty and add check constraint such that FacultyCode starts with ‘F’
© IT Department Page 2 of 3
7. Alter the table Faculty and add check constraint such DeptCode is either CSE,IT, MCA, EE, ECE
8. Add constraint : DeptCode of Faculty is foreign key and references DeptCode in Department.
9. Add Constraint: HOD of Department table is foreign key and references FacultyCode of Faculty.
© IT Department Page 3 of 3