Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 2 . Consider the following three relations with the following correct information. ( 3 Pnts ) table [ [ Student , Advisor,Adv _
Q Consider the following three relations with the following correct information.
Pnts
tableStudentAdvisor,AdvMajSNoSName,ANo,Major,ANO,AName,ANo,Major,YearSTom,AMIS,ABill,AMIS,SDick,AMIS,APete,AFIN,SSandy,AFIN,ACathy,AACCT,SSandy,AACCT,ADick,ASKim,,,,,AMKT
ANo of AdvMaj is a foreign key referencing the Advisor relation.
ANo Major of Student is a foreign key referencing the AdvMaj relation.
Year of AdvMaj must be
The content tuples of the three relations violate some of relational model constraints
Domain Key, Entity Integrity, and Referential Integrity
List all of these violations by completing the following table with relation name, constraint name violated, and tuples that violate the constraints.
tableRelationConstraint,tableTuples thatviolates constrainJustifyAdvMaj,Domain, tuple,tableYear value is invalid.Year must be
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started