3

If I have a schema say R={A,B,C,D} and functional dependencies say {B->C, D->A} will my set of candidate keys be {B,D} or {BD}?

Sean
  • 2,018
  • 4
  • 25
  • 32

1 Answers1

1

If B were a candidate key, you'd have to be able to derive these functional dependencies from the ones given in the problem.

  • {B->A}
  • {B->C}
  • {B->D}

Can you do that?

Mike Sherrill 'Cat Recall'
  • 91,602
  • 17
  • 122
  • 185