Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

Determine miller indices of plane X z 2/3 90% a/3

Answered: 1 week ago