Question: Assume that attributes with the same name in different relations represent the same domain and that the primary key attributes in each relation are underlined.
Assume that attributes with the same name in different relations represent the same domain and that the primary key attributes in each relation are underlined. Answer the following questions given the relational schema below:
R(A,B,C,D,E) S(B,C,D,F) T(D,G,H)
List all potential foreign keys in the three relations. (1 mark)
List all superkeys of S. (1 mark)
List all candidate keys of T. (1 mark)
What is the degree and cardinality of S? (1 mark)
If the cardinality of T is N, what is the cardinality of D,H(T)? (1 mark)
Please give breif explanations, thank you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
