简体   繁体   中英

1NF to 3NF -- Review

So I started out with this problem in my textbook: http://imgur.com/Ax8hXj6 and then I had to find all of the dependencies and create a 3NF from the original... I have spent hours trying to figure this out and get it correct. Can someone please provide feedback on my so far final product? http://imgur.com/PE2hY56 (I know this is in the relational model and not ERD -- I figured that this would be easier)

I agree with most of your solution. However, a few details stand out:

  • You introduced either TRAINING_ID or TRAINING_DESCR in Training . The original EMP_TRAINING had single domain of values. Normalization would only give you the bridge table.
  • You introduced either EDUC_CODE or EDUC_DESCR in Education . The original EMP_EDUCATION had a single domain of values. Normalization would only give you the bridge table.
  • You introduced EMP_CODE as an attribute of JOB_CLASS . I see no matching attribute in the original.
  • DEPEN_NUM isn't wrong, but it depends on whether you interpret EMP_DEPENDENTS as an ordered or unordered list. I would've used (EMP_NUM, DEPEN_FNAME) as key for Dependents . Yours is an equally valid solution.

I hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM