各个mysql的依赖,部分依赖(数据库)

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 dependent on other keys that depend on the primary such that if the field which another field depends on id deleted that field will still exist due to its dependence on the primary key. I am not sure if it is correct. I have researched and every definition sounds misleading.Is my definition correct and if not please explain?

解决方案

A functional dependency that holds in a relation is partial when removing one of the determining attributes gives a functional dependency that holds in the relation.

Eg if {A,B} → {C} but also {A} → {C} then {C} is partially functionally dependent on {A,B}.

A functional dependency X → Y is a full functional dependency if

removal of any attribute A from X means that the dependency does not

hold any more; that is, for any attribute A ε X, (X – {A}) does not

functionally determine Y. A functional dependency X → Y is a partial

dependency if some attribute A ε X can be removed from X and the

dependency still holds; that is, for some A ε X, (X – {A}) → Y.

-- FUNDAMENTALS OF Database Systems SIXTH EDITION Ramez Elmasri & Navathe

(The definition of 2NF involves full functional dependency of non-key attributes on keys but any functional dependecy that holds is either full or partial.)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值