Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 2 . Consider the following three relations with the following correct information. ( 3 Pnts ) table [ [ Student , Advisor,Adv _

Q2. Consider the following three relations with the following correct information.
(3 Pnts)
\table[[Student,Advisor,Adv_Maj],[SNo,SName,ANo,Major,ANO,AName,ANo,Major,Year],[S1,Tom,A1,MIS,A1,Bill,A1,MIS,1993],[S2,Dick,A1,MIS,A2,Pete,A2,FIN,1992],[S3,Sandy,A.2,FIN,A3,Cathy,A2,ACCT,1990],[S3,Sandy,A2,ACCT,A4,Dick,A3,,1996],[S4,Kim,,,,,A5,MKT,1985]]
ANo of Adv_Maj is a foreign key referencing the Advisor relation.
(ANo, Major) of Student is a foreign key referencing the Adv_Maj relation.
Year of Adv_Maj must be 1990.
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.
\table[[Relation,Constraint,\table[[Tuple(s) that],[violate(s) constrain]],Justify],[Adv_Maj,Domain,5th tuple,\table[[Year (1985) value is invalid.],[Year must be 1990.]]],[,,,],[,,,]]
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

Students also viewed these Databases questions

Question

Different formulas for mathematical core areas.

Answered: 1 week ago