Docsity

Normalization - Business Management System - Lecture Slides, Slides of Business Management and Analysis

Partial preview of the text

Download Normalization - Business Management System - Lecture Slides and more Slides Business Management and Analysis in PDF only on Docsity!

Normalization

Normalization

(Objectives)

  • Analyze Database Design
  • Determine Design Quality
  • Identify Potential Problems
  • Correct Design Problems
  • Foundation for Database Design

Key Review

  • Primary Key
  • Foreign Key
  • Candidate Key
  • Alternate Key
  • Secondary Key
  • Emp_No SS_No Name Address

Functional Dependency/Determinant

  • Functional Dependent
  • A ------> B
  • Pay Class --------> Pay Rate
  • Determinant
  • A --------> B
  • Pay Class ----------> Pay Rate

Practice Problem 1

  • First Normal Form
  • A B C D E F
  • Second Normal Form
  • A B
  • A C D E F
  • Third Normal Form
  • A B E F
  • A C D E

Normal Forms Review

  • 1NF--No repeating groups
  • 2NF--No attributes dependent on only a

portion of the primary key

  • 3NF--Only determinants contained in the

relation are candidate keys

Terminology Review

  • Candidate Key
  • Primary Key
  • Alternate Key
  • Secondary Key
  • Foreign Key
  • Empno SSno Name Address

Terminology Review

  • First Normal Form
  • Second Normal Form
  • Third Normal Form

Terminology

  • Functionally Dependent
  • Functionally Determinant

Terminology

  • First Normal Form
  • Second Normal Form
  • Third Normal Form

Normalization Example (1NF)

  • Packid Tagnum Instdate Softcost
  • AC01 32808 09/13/95 754.
  • DB32 32808 12/03/95 380.
  • DB32 37691 06/15/95 380.
  • DB33 57772 05/27/95 412.
  • WP08 32808 01/12/95 185.
  • WP08 37691 06/15/95 227.

Normalization Example (1NF)

  • ID Name Dept
  • 125 Burns, Joe FIN
  • 145 Collins, Clara FIN
  • 157 Dunn, Betty ACCT
  • 160 Evers, Don MGMT
  • 175 Fuller, Sue FIN
  • 187 Goodner, Wade MIS

Normalization Example (3NF)

  • ID Name Phone Payclass Payrate
  • Dependencies
  • ID --> Name, Phone, Payclass, Payrate
  • Payclass --> Payrate

Normalization - Quick View

  • 1NF -- The Key
  • 2Nf -- The Whole Key
  • 3NF -- Nothing but the key