Recent questions tagged candidate-key

2 2 votes
1 1 answer
103
103 views
Consider $R(A,B,C,D)$ with $F=\{AB \to C,\ BC \to D,\ CD \to A,\ AD \to B,\ C \to BD\}$.Which of the following statements are correct?$C$ is a candidate key. $D$ is a can...
2 2 votes
2 2 answers
206
206 views
Consider $R(A,B,C,D,E)$ with $A \to B,$ $BC \to E,$ and $ED \to A$.Which of the following statements are correct?$ACD$ is a candidate key. $BCD$ is a candidate key. $CDE$...
2 2 votes
1 1 answer
127
127 views
Consider $R(A,B,C,D,E,F)$ with $AC \to B,$ $BD \to F,$ and $F \to CE$.Which functional dependency causes $R$ to violate $\text{3NF}$?$AC \to B$ $BD \to F$ $F \to C$ $F \t...
2 2 votes
1 1 answer
124
124 views
Consider $R(A,B,C,D,E)$ with $C \to D,$ $DE \to B,$ and $AB \to C$.Which of the following statements are correct?$ABE$ is a candidate key. $ACE$ is a candidate key. $ADE$...
2 2 votes
3 3 answers
166
166 views
Consider $R(A,B,C,D)$ with functional dependencies $AB \to C,$ $BC \to D$.Which statement correctly explains why $R$ is not in $\textbf{3NF}$?$AB \to C$ violates $\text{3...
2 2 votes
2 2 answers
193
193 views
Consider the relation $R(A,B,C,D,E)$ with functional dependencies $AB \to C$, $E \to D$.Assume that no other non-trivial functional dependencies hold and that all attribu...
2 2 votes
4 4 answers
244
244 views
Consider the relation $R(V,W,X,Y,Z)$ with functional dependencies :$V \to X$$WY \to X$$VWY \to Z$The candidate key is $VWY$.Assume that all attributes contain atomic valu...
2 2 votes
1 1 answer
170
170 views
Consider the relation schema $R(A,B,C,E,F,G,H)$ with $F=\{A \to BC,\ C \to FG,\ E \to HG,\ G \to A\}$Which of the following statements are correct?$A^+=\{A,B,C,F,G\}$ $A ...
2 2 votes
1 1 answer
153
153 views
Consider the relation schema $R(A,B,C,D,E)$ with$F=\{AB \to C,\ CD \to E,\ DE \to B\}$Which attributes must necessarily occur in every candidate key of $R$?$A$ $B$ $C$ $D...
3 3 votes
1 1 answer
123
123 views
Consider the relation$Student(S,I,E,N,L)$with the functional dependencies$F=\{S \to I,\ I \to E,\ E \to S,\ N \to L\}$Which of the following are candidate keys?$SN$ $IN$ ...
2 2 votes
1 1 answer
146
146 views
Consider the relation schema $R(A,B,C,D,E,F)$ with$F=\{BE \to C,\ B \to F,\ D \to F,\ AEF \to B,\ A \to E\}$Which of the following is a candidate key of $R$?$ACD$ $AD$ $F...
2 2 votes
1 1 answer
250
250 views
Let $K_1$ and $K_2$ be two distinct candidate keys of a relation $R$.Let $S_1$ and $S_2$ be two superkeys of $R$.Which of the following statements are always true?$K_1\cu...
2 2 votes
1 1 answer
179
179 views
1 1 vote
1 1 answer
174
174 views
Consider the following relation instance $R(A,B,C)$:$$\begin{array}{|c|c|c|}\hlineA & B & C \\\hline\alpha & \delta & \xi \\\beta & \delta & \psi \\\gamma & \eta & \xi \\...
6 6 votes
8 8 answers
1.5k
1.5k views
Let $\text{R(A, B, C, D, E)}$ be a relational schema with functional dependency set $\mathrm{F}=\{\mathrm{A} \rightarrow \mathrm{BC}, \mathrm{CD} \rightarrow \mathrm{E}, ...
1 1 vote
1 1 answer
344
344 views
Let $R$ be a relation schema with a set of functional dependencies $F$.The relation $R$ is decomposed into $n$ relation schemas$R_1, R_2, \ldots, R_n$.Consider the follow...
0 0 votes
1 1 answer
686
686 views
Can a super key contain NULL values?If yes, please explain why it is allowed.If not, please explain why NULL values are not permitted in a super key.Also, can a candidate...
0 0 votes
2 2 answers
353
353 views
Do the following exist for EMPTY instances?Super KeyCandidate KeyPrimary KeyIf yes, could anyone please elaborate?
1 1 vote
1 1 answer
329
329 views
An alternate key in database table is also calledPrimary keyCandidate keySuper keyForeign key
2 2 votes
3 3 answers
594
594 views
Consider a relation schema $\mathrm{R}=(\mathrm{U}, \mathrm{V}, \mathrm{W}, \mathrm{X}, \mathrm{Y}, \mathrm{Z})$, on which the following functional dependencies hold:$$\{...
3 3 votes
5 5 answers
607
607 views
1 1 vote
2 2 answers
468
468 views
A superkey for an entity consists of :one attribute onlyat least two attributesat most two attributesone or more attributes
0 0 votes
2 2 answers
1.2k
1.2k views
The correct answer is a and d. I just wanted to know that why not b and c. It is possible that it may be speed and color is also a candidate key. If you have any clarific...
2 2 votes
1 answers 1 answer
1.2k
1.2k views
Consider a relation R having seven attributes ABCDEFG. Fields of R contain only atomic values.FDs = {CD → G, A → BC, B → CF, E → A, F → EG, G → D} is set of functional de...