Chapter 6 Normal Forms.pptVIP

  • 12
  • 0
  • 约2.25万字
  • 约 77页
  • 2016-12-30 发布于江苏
  • 举报
Winter 2002 Arthur Keller – CS 180 Winter 2002 Arthur Keller – CS 180 Answer 6.5 (a) Candidate keys: AB, BC, CD, AD (b) R is in 3NF but not BCNF (because of the FD: C → A). (c) C → A and D → B both cause violations. So decompose into: AC, BCD but this does not preserve AB → C and AB → D, and BCD is still not BCNF because D → B. So we need to decompose further into: AC, BD, CD. Now add ABC and ABD to get the final decomposition: AC, BD, CD, ABC, ABD which is BCNF, lossless and join-preserving. Answer 7.1 Candidate key(s): BD. The decomposition into BC and AD is unsatisfactory because it is l

文档评论(0)

1亿VIP精品文档

相关文档