Partial Dependency(Databases)

前端 未结 9 1226
时光说笑
时光说笑 2020-11-29 01:19

I need closure on this. I fabricated a definition that partial dependency is when fields are indirectly dependent on the primary key or partially dependent but are also dep

9条回答
  •  庸人自扰
    2020-11-29 01:59

    Partial dependency means that a nonprime attribute is functionally dependent on part of a candidate key. (A nonprime attribute is an attribute that's not part of any candidate key.)

    For example, let's start with R{ABCD}, and the functional dependencies AB->CD and A->C.

    The only candidate key for R is AB. C and D are a nonprime attributes. C is functionally dependent on A. A is part of a candidate key. That's a partial dependency.

提交回复
热议问题