Normalize The Database Into 3NF
Normalize The Database Into 3NF
Normalize The Database Into 3NF
Submitted to:
Dr.Ramzan Talib
Group Members:
Waleed Raza Butt Mavia Rasheed Ateeb Aslam Haider Imran BCS-FA10-197 BCS-FA10-085 BCS-FA10-078 BCS-FA10-061
Submitted On
December 20, 2011
LLM
007
123 24000 345 24000 678 24000 912 24000 367 24000
A A B B A
12 10 11 13 13
Rasheed BWP 005 Aslam Imran Riaz OKR GUJ GUJ 002 001 008
1NF Design
StudentID SName FName City CNIC Cell HostelDues Wing# Room# HostelName MessBill MessUnit
LLM
007
123 24000 345 24000 678 24000 912 24000 367 24000
A A B B A
12 10 11 13 13
Rasheed BWP 005 Aslam Imran Riaz OKR GUJ GUJ 002 001 008
2NF Dependencies Fd1: StudentID,CNIC,Cell SName,FName,City (Primary key) Fd2: StudentID HostelName,Wing#,Room#,HostelDues (Partial Dependency) Fd3: Wing# Room# (Transitive Dependency) Fd4: StudentID MessUnit,MessBill (Partial Dependency) Fd4: MessUnit MessBill (Transitive Dependency)
2NF Design
StudentID
SName
FName Wing#
Cell
City
HostelDues
MessUnit
3NF Design Student Hostel RoomDetail Mess MessPay StudentID SName FName Cell Wing# Room# MessUnit MessBill CNIC HostelDues City