开发者

Translating functional dependencies into 3rd normal form

开发者 https://www.devze.com 2022-12-23 17:48 出处:网络
I have this problem decomposing a relation schema into a set of开发者_高级运维 schemas that are in 3NF.

I have this problem decomposing a relation schema into a set of开发者_高级运维 schemas that are in 3NF.

I have this relation schema: R= (A, B, C, D, E, F)

With the following set F of functional dependencies:

A → ABCDEF

B → C

D → E

Can anyone help me out?


RA = (A, B, D, F)
RB = (B, C)
RD = (D, E)

Why? 3NF requires the removal all transitive dependencies.

In R, C is transitively dependent on A through B, and the same is true for E through D. To remove those properties, you need to decompose the tables such that those transitive relationships are removed, which you do by extracting the table and using the middle term as keys.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号