1
You visited us
1
times! Enjoying our articles?
Unlock Full Access!
Byju's Answer
Other
Other
Determining Candidate Keys Part - 1
Consider the ...
Question
Consider the relation Relation (ABCDEF) with FDs:
A
→
F
C
C
→
D
B
→
E
Find the key
Open in App
Solution
A
B
+
=
A
,
B
,
C
,
D
,
E
,
F
Because
A
B
+
contains all the attributes, AB is key.
Suggest Corrections
0
Similar questions
Q.
C
o
n
s
i
d
e
r
a
r
e
l
a
t
i
o
n
R
(
A
,
B
,
C
,
D
,
E
)
w
i
t
h
f
u
n
c
t
i
o
n
a
l
d
e
p
e
n
d
e
n
c
i
e
s
:
N
u
m
b
e
r
o
f
c
a
n
d
i
d
a
t
e
s
k
e
y
i
n
a
b
o
v
e
r
e
l
a
t
i
o
n
R
i
s
_
_
_
_
_
_
.
F
=
(
A
E
→
C
,
C
D
→
E
,
C
→
A
,
C
→
D
,
D
→
E
]
Q.
The Relation R(ABCDEF) with FD set
F
=
{
A
B
→
C
D
E
F
,
C
→
A
,
D
→
B
,
C
→
D
,
E
→
F
,
B
→
E
}
The number of candidate keys of a relation R is
Q.
Consider the relation R(A, B) in which (AB) is the primary key and the relations S(A, C) where A is the primary key. Assume there are no null values and no foreign keys or integrity constraints.
Q
1
: Select A from R where A in (Select A from S)
Q
2
: Select A from S where A in (Select A from R)
Which of the following option is correct related to the above queries?
Q.
Consider a relation R(A,B,C,D,E,F) with functional dependencies
F =(
A
→
B
C
B
→
E
D
→
A
F
F
→
C
B
→
A
D
)
The number of super keys present in the relation are ________
Q.
Consider R = (A, B, C, D, E, F) be a relation schema with the following dependencies
A
→
B
,
A
→
C
,
C
D
→
E
,
C
D
→
F
,
B
→
E
Which of the following is candidate key of R ?
View More
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
Related Videos
Determining Candidate Keys Part - 1
OTHER
Watch in App
Explore more
Determining Candidate Keys Part - 1
Other Other
Join BYJU'S Learning Program
Grade/Exam
1st Grade
2nd Grade
3rd Grade
4th Grade
5th Grade
6th grade
7th grade
8th Grade
9th Grade
10th Grade
11th Grade
12th Grade
Submit
AI Tutor
Textbooks
Question Papers
Install app