Web hosting e commerce
Saturday, April 21st, 2007Chapter 7 . Database Concepts and Design 121 . Second Normal Form (2NF): This form includes the 1NF definition and requires that all attributes of a specific entity depend on the entire key value. If the key value is only one value, then attributes that depend on it already depend on the entire value, as shown in Figure 7-9. Person Person ID Person Name 3 Don Sutton 4 Steve Suehring 5 Greg Maddux 6 Jerry Rice 7 Mika Hakkinen 8 Steve Young Location Team Loc_ID Location Team ID Team Name 355 Baseball Hall of Fame 95 Braves 515 Bat Boy 78 Dodgers 355 Baseball Hall of Fame 95 Braves 400 NFL Hall of Fame 94 49ers 411 Formula One 99 Mclaren 400 NFL Hall of Fame 94 49ers Table4 Person ID Loc_ID Team ID 3 355 95 4 515 78 5 355 95 6 400 94 7 411 99 8 400 94 Figure 7-9: Making sure all attributes depend on the key . Third Normal Form (3NF): This form includes the 2NF definition and requires that all attributes of a specific entity depend only on the key, not on other attributes. In other words, the Team is dependent only on the Team_ID, not on the Name of the person. Figure 7-10 illustrates the final tables for this example. Note that foreign-key constraints could be used to remove Table4 from the example.
Note: If you are looking for cheap and reliable webhost to host and run your web application check Vision coldfusion web hosting services