Question: Question No: 0 5 This is a subjective question, hence you have to write your answer in the Text - Field given below. Consider the

Question No: 05
This is a subjective question, hence you have to write your answer in the Text-Field given below.
Consider the three relations Student, Course, Student_Course given below. Given that StudID is the primary key of Student, Rollno and StudPANNo are the unique keys of Student relation, Cid is the primary key of Course, and there is a referential integrity between Course.CID and Student.CID (Student.CID refers Course.CID). And we have a relationship relation Student_Course from M:N relationship between Student and Course, and its primary key is combination of CID and StudID.
Discuss the integrity constraints(at least 5) that are violated.
[5 Marks]
Course
\table[[CID,CourseName,CourseBook],[C1,Comp Programming,Ritchie],[C2,DBDA,Null],[C1,Data Mining,Null],[C3,Data Mining,Tan],[C4,DBDA,Navathe],[C5,NULL,RRKG],[Null,Relational Databases,Korth]]
\table[[StudID,Studname,StudBranch,Rollno,CID,StudPANNo],[1,Anita,CSE,1239,C1,AGBPk9978]],[Null,Meenu,Null,1234,C2,AmGHN887H],[S1,Anita,CSE,1239,C6,AL6NL8879H],[S3,Raghu,ECE,1245,C4,NULL],[S4,Manu,CSE,1246,C2,AGBPk9978]]]
Student_Course
\table[[StudID,COurseID],[S2,C1],[Null,C1],[S1,C1],[S3,C2],[S4,C2]]
 Question No: 05 This is a subjective question, hence you have

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 Databases Questions!