home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / 7864 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.8 KB

  1. Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!dkuug!diku!elgaard
  2. From: elgaard@diku.dk (Niels Elgaard Larsen)
  3. Newsgroups: comp.databases
  4. Subject: Re: Normalizing 2NF -> 3NF
  5. Message-ID: <1992Nov15.223825.16263@odin.diku.dk>
  6. Date: 15 Nov 92 22:38:25 GMT
  7. References: <1992Nov15.163413.17527@news.uiowa.edu>
  8. Sender: elgaard@trud.diku.dk
  9. Organization: Department of Computer Science, U of Copenhagen
  10. Lines: 49
  11.  
  12. bonak@herky.cs.uiowa.edu (Esmail Bonakdarian) writes:
  13.  
  14. >E.g., given a relation with three attributes, A, B, and C, where
  15. >attribute A is the PK, the following dependencies exist:
  16.  
  17. >+----+-----+----+
  18. >| A* |  B  | C  |
  19. >+----+-----+----+
  20.  
  21. >   A -> B
  22. >        B -> C
  23.  
  24. >i.e, A determines B, and B in turn determines C.
  25.  
  26. >3NF would split this up into two relations:
  27.  
  28. >+----+-----+
  29. >| A* |  B  |
  30. >+----+-----+
  31. >            and
  32.  
  33. >+----+----+            +----+----+
  34. >| A* | C  |    OR      | B* | C  |
  35. >+----+----+            +----+----+
  36.  
  37. >Which of these two latter relations is the "correct" one according to
  38. >the theory? Or does it always depend on the given semantics of the data
  39. >being modeled? It seems to me that I've seen both.
  40.  
  41. Both are correct since both (A,C) and (B,C) are on 3NF. That does of course
  42. not mean that they are equally good. Depends on the queries on the database.  
  43.  
  44. >Could somebody please clear this up form me? Also, any references to
  45. >material/articles (both on/off the net) that explain the normalization
  46. >process clearly would be much appreciated.
  47.  
  48. @book{Date90,
  49.     author = "C. J. Date",
  50.     title  = "An Introduction to Database Systems",
  51.     publisher = "Addison-Wesley",
  52.     year = "1990",
  53.         volume = "I",
  54.     edition = "5"
  55.     }
  56. -- 
  57.          Niels Elgaard Larsen          
  58.          Institute of Computer Science,        
  59.          University of Copenhagen      
  60.          E-mail: elgaard@diku.dk 
  61.