1,553 views
0 votes
0 votes
Let FD: AB-->C  , A-->C .Is B extraneous ?if yes, then how can we determine B.

2 Answers

Best answer
3 votes
3 votes

B is  useless here , it could even have been ABDFRGTYUILOP-->C , then  BDFRGTYUILOP ,all these attributes are useless since A alone can determine C  , so u r left only with the functional dependency A-->C , as far as determining B is concerned , it is a prime attribute , since AB is a candidate key here . so in the given relation schema R(ABC) , you have only 1 functional dependency A-->C and AB is candidate key .

selected by
1 votes
1 votes
AB-->C

A-->C

2ND FUNCTIONAL DEPENDENCY SHOWS THAT 'A' ALONE CAN DERIVE C. SO IN 1ST FD B IS EXTRANEOUS . BECAUSE HERE A AND B TOGETHER DERIVING C. THIS IMPLIES THAT B IS NOT REQUIRED TO DERIVE C.A ALONE CAN DERIVE IT.AND IF WE REMOVE B,  A CLOSURE WILL REMAINS THE SAME.

Related questions

1 votes
1 votes
0 answers
1
srestha asked Apr 25, 2018
1,115 views
1) What steps should be followed to remove all extraneous tuples?If there any good link for this or any book contain good information about it
0 votes
0 votes
0 answers
3
Fida asked Dec 27, 2018
246 views
If a relation is having (A,B,C,D)And product rulesA->bB->c..... Then A be candidate key or we have to include D too I AD ..…
0 votes
0 votes
0 answers
4
Deepalitrapti asked Aug 21, 2018
333 views