SlideShare une entreprise Scribd logo
1  sur  40
CHAPTER   6 NORMALIZATION
NORMALIZATION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OBJECTIVE ,[object Object],[object Object],[object Object],[object Object],[object Object]
RELATIONAL DATA MODEL ,[object Object],Table 6.1: Relational Table
NOTATION OF RELATION ,[object Object],[object Object],Relation_Name (Primary_key, Non_Key_Attribute)
Relation Schema?
 
Table 6-6 The BOOK Table ccccccc ccccccc No 80.00 Graphic M-G1 Graphic Design P08 44444 44444 No 88.00 Multimedia M-G1 Adobe Illustrator 10 P07 33333 33333 No 40.00 Pengetahuan Am F-B1 Pengajian Malaysia P06 22222 22222 No 69.00 Database T-H1 Database Processing P05 11111 11111 No 59.00 Database T-H1 Microsoft Access 2000 Complete P04 zzzzz zzzzz No 100.00 Database P-H1 Concepts of Database Management System P03 yyyyy yyyyy No 80.00 Database M-G1 Teach Yourself Microsoft Access 2000 Visually P02 xxxxx xxxxx Yes 76.00 Database M-G1 Access 2000 Processing P01 Book_Cover Book_ Sample Price Type Publisher_Code Book_Title Book_ Code
PROBLEM in RELATIONAL DATA MODEL ,[object Object],[object Object],[object Object]
ANOMALIES ,[object Object],[object Object],[object Object],[object Object],[object Object]
MODIFICATION ANOMALIES Table 6-7 STUDENT_COURSE Table Diploma in Computer Graphic and Design. DIPCGR Jalan Puchong Syed Ahmad Rizal B. Syed Abdul Razak S0035 Computer Power 200 (Graphic and Multimedia) CGMP200 Tmn. Melawati Aidil Akmar Hj. Ayob S0159 Computer power 100 (IT) CITP100 Tmn. Koperasi Polis Nurazean Bt. Md. Sobri S0157 Computer Power 200 (Graphic and Multimedia) CGMP200 Bandar Baru Bangi Amjadi Abd. Mubin S0149 Associate Diploma in Interactive Multimedia ASDIM Jln. Kg. Gajah Hamizah Mohamed Redzwan S0144 Course_Name Course_ Code Address Student_Name Student_ID
MODIFICATION ANOMALIES ,[object Object],[object Object],[object Object],[object Object]
 
INSERT ANOMALIES
INSERT ANOMALIES ,[object Object],[object Object],[object Object],[object Object]
 
DELETE ANOMALIES
DELETE ANOMALIES ,[object Object],[object Object],[object Object],[object Object]
 
INFORMATION REDUNDANCIES ,[object Object]
[object Object],[object Object],[object Object],[object Object],INFORMATION REDUNDANCIES
INFORMATION REDUNDANCIES The STUDENT_SUBJECT Table The SUBJECT Table  The STUDENT Table  Jalan Puchong Syed Ahmad Rizal B. Syed Abdul Razak S0035 Tmn. Melawati Aidil Akmar Hj. Ayob S0159 Tmn. Koperasi Polis Norazean Bt Md Sobri S0157 Bandar Baru Bangi Amjadi Abd Mubin S0149 Jln. Kg. Gajah Hamizah Mohamed Redzwan S0144 Address Student_Name Student_ID ADM101 S0035 ADM301 S0159 ADM101 S0157 ADM101 S0149 ACT410 S0144 Subject _code Student_ID 4 Project ADM301 4 Internet Publishing ADM101 4 Computerized Accounting ACT410 Credit_hour Subject_name Subject_code
NORMALIZATION ,[object Object],[object Object],[object Object],[object Object]
NORMALIZATION ,[object Object],[object Object]
Relational Schema: STUDENT  ( Stud_ID , Stud_Name, Address, Course_Code) Table 6‑20 The STUDENT Table (NF) Relational Schema: SUBJECT ( Subject_Code , Subject_Name, Credit_Hours) Table 6‑21 The SUBJECT Table (NF) Relational Schema: STUDENT_GRADE ( Student_ID ,  Subject_Code , Grade) Table 6‑22 The STUDENT_GRADE Table (NF) Relational Schema: COURSE ( Course_Code , Course_Name,Coordinator) Table 6‑23 The COURSE Table (NF) ADIM Shah Alam Maslina Yakub S0151 DCGD Shah Alam Amirul Hamdan S0144 DIT Sentul Azlina Ahmad S0001 Course_Code Address Stud_Name Stud_ID 4 Graphic Design Application ART210 4 Internet Publishing QDM101 4 Business Organization BUS210 2 Introduction to graphic Design ART230 4 Promotion Design ART410 4 Graphic Communication ART310 4 Computerized Accounting, ACT410 Credit_Hours Subject_Name Subject_Code A BUS210 S0151 A ART 210 S0151 C ART410 S0151 B BUS210 S0144 B ART230 S0144 A ART310 S0144 C ART210 S0001 B ADM101 S0001 A ACT410 S0001 Grade Subject_Code Student_ID Sahada Associate Diploma in Interactive Multimedia ADIM Ahmad Diploma in Computer Graphic Design DCGD Fazilah Diploma in Information Technology DIT Coordinator Course_Name Course_Code
NORMALIZATION ,[object Object]
NORMALIZED FORM (NF) Relational Schema: CUSTOMER ( Cust_No , Cust_Name, Address) Table 6‑25 The CUSTOMER Table (NF) Relational Schema:  INVOICE ( Cust_No ,  Item_Code , Qty) Table 6‑26 The INVOICE Table (NF)  Relational Schema:  ITEM ( Item_Code , Item_desc, Price, Supplier) Table 6‑27 The ITEM Table (NF) Relational Schema: SUPPLIER ( Supplier , Supplier_address) Table 6‑28 The SUPPLIER Table (NF) Ampang Rani A102 Ampang Salmah A101 Sentul Abu A100 Address Cust_Name Cust_No 4 2 2 MS112  CP200  VG400 A102 A102 A102 10 10 5 HD200 KB100 SP360 A101 A101 A101 10 10 5 HD200 KB100 SP360 A101 A101 A101 20 10 2 KB100 CP200 MS112 A100 A100 A100 Qty Item_Code Cust_No XYZ Ent. 200 VGA Card VG400 XYZ Ent. 650 CPU CP200 XYZ Ent. 45 Speaker SP360 XYZ Ent. 15 Mouse MS112 Seagate 100 Hard Disc HD200 XYZ Ent. 25 Keyboard KB100 Supplier Price Item_desc Item_Code Pulau Pinang Seagate Petaling Jaya XYZ Ent. Supplier_address Supplier
LEVEL OF NORMALIZATION No repeating groups of data in the table No partial functional dependancy No transitive dependancy
LEVEL OF NORMALIZATION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
STEPS IN NORMALIZATION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
FUNCTIONAL DEPENDENCIES(FD) ,[object Object],StudentName can be uniquely determined from StudentID. The reverse statement is  not true  because more than one student can have the same name but different StudentID. (StudentName->StudentID) STUDENT( StudentID ,StudentName ) StudentName is functionally dependant on StudentID or (StudentID->StudentName). WHY?
TRANSITIVE DEPENDENCIES ,[object Object],[object Object],[object Object],[object Object],[object Object]
NORMALIZATION ,[object Object],Repetitive group :  Attributes that contains more than one value in each and every line. Sahada Rahman Associate Diploma in Interactive Multimedia Shah Alam C A A 4 4 4 ART410  ART 210 BUS210 Promotion Design Graphic Design Application Business Organisation Mazlina Yakub S0151 Ahmad Razak Diploma in Computer Graphic Design Shah Alam A B B 4 2 4 ART310 ART230 BUS210 Graphic Communication Introduction to graphic Design Business Organization Amirul Hamdan S0144 Fazilah Musa Diploma in Information Technology Sentul A B C 4 4 4 ACT410 ADM101  ART210 Computerised Accounting Internet Publishing Graphic Design Application Azlina Ahmad S0001 Coord inator Course Add. Grade Credit Hours Subject  Code Subject Name Student Name Student ID
Relational Schema:  STUDENT ( Student_ID , Student_Name ,  Subject_Code, Grade, Address, Course, Coordinator) Relational Schema:  SUBJECT ( Subject_Code , Subject_Name, Credit_Hour) STUDENT SUBJECT Sahada Rahman Associate Diploma in Interactive Multimedia Shah Alam A BUS210 Mazlina Yakub S0151 Sahada Rahman Associate Diploma in Interactive Multimedia Shah Alam A ART 210 Mazlina Yakub S0151 Sahada Rahman Associate Diploma in Interactive Multimedia Shah Alam C ART410 Mazlina Yakub S0151 Ahmad Razak Diploma in Computer Graphic Design Shah Alam B BUS210 Amirul Hamdan S0144 Ahmad Razak Diploma in Computer Graphic Design Shah Alam B ART230 Amirul Hamdan S0144 Ahmad Razak Diploma in Computer Graphic Design Shah Alam A ART310 Amirul Hamdan S0144 Fazilah Musa Diploma in Information Technology Sentul C ART210 Azlina Ahmad S0001 Fazilah Musa Diploma in Information Technology Sentul B ADM101 Azlina Ahmad S0001 Fazilah Musa Diploma in Information Technology Sentul A ACT410 Azlina Ahmad S0001 Coordinator Course Address Grade Subject_Code Student_Name Student ID 4 Promotion Design ART410 4 Business Organization. BUS210 2 Introduction to graphic Design ART230 4 Graphic Communication ART310 4 Graphic Design Application ART210 4 Internet Publishing QDM101 4 Computerised Accounting ACT410 Credit_Hour Subject_Name Subject_Code
NORMALIZATION ,[object Object],[object Object],[object Object],Grade Student_ID, Subject_Code Subject_Name, Credit_Hours Subject_Code Student_Name, Address, Course, Coordinator Student_ID
Relational Schema:  STUDENT   ( Student_ID , Student_Name, Address, Course, Coordinator) Relational Schema:  SUBJECT( Subject_Code , Subject_Name, Credit_Hours) Table 6‑33 The SUBJECT Table (2NF) Relational Schema:  STUDENT_GRADE   ( Student_ID ,  Subject_Code , Grade) Table 6‑34 The STUDENT_GRADE  Table (2NF) Sahada Associate Diploma in Interactive Multimedia Shah Alam Mazlina Yakub S0151 Ahmad Diploma in Computer Graphic Design Shah Alam Amirul Hamdan S0144 Fazilah Diploma in Information Technology Sentul Azlina Ahmad S0001 Coordinator Course Address Student_Name Student_ID 4 Promotion Design ART410 4 Business Organization. BUS210 2 Introduction to graphic Design ART230 4 Graphic Communication ART310 4 graphic Design Application ART210 4 Internet Publishing QDM101 4 Computerised Accounting ACT410 Credit_Hours Subject_Name Subject_Code A BUS210 S0151 A ART210 S0151 C ART410 S0151 B BUS210 S0144 B ART230 S0144 A ART310 S0144 C ART210 S0001 B QDM101 S0001 A ACT410 S0001 Grade Subject_Code Student_ID
NORMALIZATION ,[object Object],[object Object],Subject_Name, Credit_Hours Subject_Code Grade Student_ID, Subject_Code Student_Name, Address, Course, Coordinator Student_ID
NORMALIZATION ,[object Object],The  4 functional dependencies (with Transitive Dependencies removed) are:  There are ready to be created as 3NF’s tables.   Coordinator Course Subject_Name, Credit_Hours Subject_Code Grade Student_ID, Subject_Code Student_name, Address, Course Student_ID
Relational Schema:  STUDENT  (Student_ID, Student_Name, Address,Course) Table 6‑35 The STDENT Table (3NF) Relational Schema:  SUBJECT( Subject_Code , Subject_Name, Credit_Hours) Table 6‑36 The SUBJECT  Table (3NF) Relational Schema:  COURSE ( Course , Coordinator) Table 6‑37 The COURSE Table (3NF) Relational Schema:  STUDENT_GRADE   ( Student_ID ,  Subject_Code , Grade) Table 6‑38 The STUDENT_GRADE Table (3NF) Associate Diploma in Interactive Multimedia Shah Alam Mazlina Yakub S0151 Diploma in Computer Graphic Design Shah Alam Amirul Hamdan S0144 Diploma in Information Technology Sentul Azlina Ahmad S0001 Course Address Student_Name Student_ID 4 Graphic Design Application ART210 4 Internet Publishing QDM101 4 Business Organization BUS210 2 Introduction to graphic Design ART230 4 Promotion Design ART410 4 Graphic Communication ART310 4 Computerised Accounting, ACT410 Credit_Hours Subject_Name Subject_Code Sahada Associate Diploma in Interactive Multimedia Ahmad Diploma in Computer Graphic Design Fazilah Diploma in Information Technology Coordinator Course A BUS210 S0151 A ART 210 S0151 C ART410 S0151 B BUS210 S0144 B ART230 S0144 A ART310 S0144 C ART210 S0001 B ADM101 S0001 A ACT410 S0001 Grade Subject_Code Student_ID
EXAMPLES FD ,[object Object],[object Object]

Contenu connexe

En vedette

Normalization
NormalizationNormalization
Normalizationrey501
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Jargalsaikhan Alyeksandr
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011photomatt
 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017Drift
 

En vedette (6)

D B M S Animate
D B M S AnimateD B M S Animate
D B M S Animate
 
Normalization
NormalizationNormalization
Normalization
 
Anomalies in database
Anomalies in databaseAnomalies in database
Anomalies in database
 
Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)Database design & Normalization (1NF, 2NF, 3NF)
Database design & Normalization (1NF, 2NF, 3NF)
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011
 
3 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 20173 Things Every Sales Team Needs to Be Thinking About in 2017
3 Things Every Sales Team Needs to Be Thinking About in 2017
 

Similaire à D I T211 Chapter 6

Fp304 DATABASE SYSTEM JUNE 2012
Fp304   DATABASE SYSTEM JUNE 2012Fp304   DATABASE SYSTEM JUNE 2012
Fp304 DATABASE SYSTEM JUNE 2012Syahriha Ruslan
 
Advanced Excel 2013 2016 Tips and Tricks by Spark Training
Advanced Excel 2013 2016 Tips and Tricks by Spark TrainingAdvanced Excel 2013 2016 Tips and Tricks by Spark Training
Advanced Excel 2013 2016 Tips and Tricks by Spark TrainingAhmed Yasir Khan
 
FP304 DATABASE SYSTEM FINAL PAPER
FP304    DATABASE SYSTEM FINAL PAPERFP304    DATABASE SYSTEM FINAL PAPER
FP304 DATABASE SYSTEM FINAL PAPERSyahriha Ruslan
 
Weizheng Xie SMU MSCS
Weizheng Xie SMU MSCSWeizheng Xie SMU MSCS
Weizheng Xie SMU MSCSWeizhengXie
 
Coit11237 assignment 2 specifications
Coit11237 assignment 2 specificationsCoit11237 assignment 2 specifications
Coit11237 assignment 2 specificationsNicole Valerio
 
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAIN
FP304 DATABASE SYSTEM  PAPER FINAL EXAM AGAINFP304 DATABASE SYSTEM  PAPER FINAL EXAM AGAIN
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAINSyahriha Ruslan
 
Masters Thesis Defense Talk
Masters Thesis Defense TalkMasters Thesis Defense Talk
Masters Thesis Defense TalkRavi Gummadi
 
Sample Question Paper IP Class xii
Sample Question Paper IP Class xii Sample Question Paper IP Class xii
Sample Question Paper IP Class xii kvs
 
Bca spring driveassignments (1)
Bca spring driveassignments (1)Bca spring driveassignments (1)
Bca spring driveassignments (1)solved_assignments
 
Bt0066, database management systems
Bt0066, database management systemsBt0066, database management systems
Bt0066, database management systemssmumbahelp
 
data Integrative Programming untuk pemula.pdf
data Integrative Programming untuk pemula.pdfdata Integrative Programming untuk pemula.pdf
data Integrative Programming untuk pemula.pdfloliktry1
 
Togaf 9 catalogs, matrices and diagrams
Togaf 9 catalogs, matrices and diagrams  Togaf 9 catalogs, matrices and diagrams
Togaf 9 catalogs, matrices and diagrams Mohammed Omar
 
Designing a software of ice cream parlour management system
Designing a software of ice cream parlour management system  Designing a software of ice cream parlour management system
Designing a software of ice cream parlour management system ShobhanSaha1
 
Evaluation of Service Performance & Analysis of Scope of Market
Evaluation of Service Performance & Analysis of Scope of MarketEvaluation of Service Performance & Analysis of Scope of Market
Evaluation of Service Performance & Analysis of Scope of MarketSarvajeet Halder
 
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...Ahmed Yasir Khan
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper Jimmy Rana
 
Chapter 16-spreadsheet1 questions and answer
Chapter 16-spreadsheet1  questions and answerChapter 16-spreadsheet1  questions and answer
Chapter 16-spreadsheet1 questions and answerRaajTech
 

Similaire à D I T211 Chapter 6 (20)

Chapter 3 ( PART 2 ).pptx
Chapter 3 ( PART 2 ).pptxChapter 3 ( PART 2 ).pptx
Chapter 3 ( PART 2 ).pptx
 
Fp304 DATABASE SYSTEM JUNE 2012
Fp304   DATABASE SYSTEM JUNE 2012Fp304   DATABASE SYSTEM JUNE 2012
Fp304 DATABASE SYSTEM JUNE 2012
 
Advanced Excel 2013 2016 Tips and Tricks by Spark Training
Advanced Excel 2013 2016 Tips and Tricks by Spark TrainingAdvanced Excel 2013 2016 Tips and Tricks by Spark Training
Advanced Excel 2013 2016 Tips and Tricks by Spark Training
 
FP304 DATABASE SYSTEM FINAL PAPER
FP304    DATABASE SYSTEM FINAL PAPERFP304    DATABASE SYSTEM FINAL PAPER
FP304 DATABASE SYSTEM FINAL PAPER
 
itm file
 itm file itm file
itm file
 
Weizheng Xie SMU MSCS
Weizheng Xie SMU MSCSWeizheng Xie SMU MSCS
Weizheng Xie SMU MSCS
 
Coit11237 assignment 2 specifications
Coit11237 assignment 2 specificationsCoit11237 assignment 2 specifications
Coit11237 assignment 2 specifications
 
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAIN
FP304 DATABASE SYSTEM  PAPER FINAL EXAM AGAINFP304 DATABASE SYSTEM  PAPER FINAL EXAM AGAIN
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAIN
 
Masters Thesis Defense Talk
Masters Thesis Defense TalkMasters Thesis Defense Talk
Masters Thesis Defense Talk
 
Sample Question Paper IP Class xii
Sample Question Paper IP Class xii Sample Question Paper IP Class xii
Sample Question Paper IP Class xii
 
Bca spring driveassignments (1)
Bca spring driveassignments (1)Bca spring driveassignments (1)
Bca spring driveassignments (1)
 
Bt0066, database management systems
Bt0066, database management systemsBt0066, database management systems
Bt0066, database management systems
 
data Integrative Programming untuk pemula.pdf
data Integrative Programming untuk pemula.pdfdata Integrative Programming untuk pemula.pdf
data Integrative Programming untuk pemula.pdf
 
Togaf 9 catalogs, matrices and diagrams
Togaf 9 catalogs, matrices and diagrams  Togaf 9 catalogs, matrices and diagrams
Togaf 9 catalogs, matrices and diagrams
 
Designing a software of ice cream parlour management system
Designing a software of ice cream parlour management system  Designing a software of ice cream parlour management system
Designing a software of ice cream parlour management system
 
Evaluation of Service Performance & Analysis of Scope of Market
Evaluation of Service Performance & Analysis of Scope of MarketEvaluation of Service Performance & Analysis of Scope of Market
Evaluation of Service Performance & Analysis of Scope of Market
 
Tableau training in hyderabad
Tableau training in hyderabadTableau training in hyderabad
Tableau training in hyderabad
 
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...
Power BI & Advanced Business Intelligence Tools Excel 2013 / 2016 By Spark Tr...
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper
 
Chapter 16-spreadsheet1 questions and answer
Chapter 16-spreadsheet1  questions and answerChapter 16-spreadsheet1  questions and answer
Chapter 16-spreadsheet1 questions and answer
 

Plus de askme

016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptx
016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptx016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptx
016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptxaskme
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclassaskme
 
Cisco ip-addressing
Cisco ip-addressingCisco ip-addressing
Cisco ip-addressingaskme
 
Human Generation
Human GenerationHuman Generation
Human Generationaskme
 
Do U Know Him
Do U Know HimDo U Know Him
Do U Know Himaskme
 
Investment Proposal
Investment ProposalInvestment Proposal
Investment Proposalaskme
 
Ramadan For Bodyand Soul
Ramadan For Bodyand SoulRamadan For Bodyand Soul
Ramadan For Bodyand Soulaskme
 
Shame On Us Or Us
Shame On Us Or UsShame On Us Or Us
Shame On Us Or Usaskme
 
Network Project
Network ProjectNetwork Project
Network Projectaskme
 
Zend Framework In Action
Zend Framework In ActionZend Framework In Action
Zend Framework In Actionaskme
 
Linux Vs Windows Tco Comparison
Linux Vs Windows Tco ComparisonLinux Vs Windows Tco Comparison
Linux Vs Windows Tco Comparisonaskme
 
B B Q Party
B B Q  PartyB B Q  Party
B B Q Partyaskme
 
Dit211 Chapter 7 (Lab 4)
Dit211   Chapter 7 (Lab 4)Dit211   Chapter 7 (Lab 4)
Dit211 Chapter 7 (Lab 4)askme
 
Dit211 Chapter 2 (Lab 1)
Dit211   Chapter 2 (Lab 1)Dit211   Chapter 2 (Lab 1)
Dit211 Chapter 2 (Lab 1)askme
 
D I T211 Chapter 5 ( Lab 3)
D I T211    Chapter 5 ( Lab 3)D I T211    Chapter 5 ( Lab 3)
D I T211 Chapter 5 ( Lab 3)askme
 
D I T211 Chapter 2 ( Lab 1)
D I T211    Chapter 2 ( Lab 1)D I T211    Chapter 2 ( Lab 1)
D I T211 Chapter 2 ( Lab 1)askme
 
D I T211 Chapter 7 ( Lab 4)
D I T211    Chapter 7 ( Lab 4)D I T211    Chapter 7 ( Lab 4)
D I T211 Chapter 7 ( Lab 4)askme
 
D I T211 Chapter 4 ( Lab 2)
D I T211    Chapter 4 ( Lab 2)D I T211    Chapter 4 ( Lab 2)
D I T211 Chapter 4 ( Lab 2)askme
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1askme
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1askme
 

Plus de askme (20)

016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptx
016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptx016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptx
016E_Surah_An-Nahl_Arabic_Recitation_with_English_Translation_Slides.pptx
 
Ipaddress presentationdemoclass
Ipaddress presentationdemoclassIpaddress presentationdemoclass
Ipaddress presentationdemoclass
 
Cisco ip-addressing
Cisco ip-addressingCisco ip-addressing
Cisco ip-addressing
 
Human Generation
Human GenerationHuman Generation
Human Generation
 
Do U Know Him
Do U Know HimDo U Know Him
Do U Know Him
 
Investment Proposal
Investment ProposalInvestment Proposal
Investment Proposal
 
Ramadan For Bodyand Soul
Ramadan For Bodyand SoulRamadan For Bodyand Soul
Ramadan For Bodyand Soul
 
Shame On Us Or Us
Shame On Us Or UsShame On Us Or Us
Shame On Us Or Us
 
Network Project
Network ProjectNetwork Project
Network Project
 
Zend Framework In Action
Zend Framework In ActionZend Framework In Action
Zend Framework In Action
 
Linux Vs Windows Tco Comparison
Linux Vs Windows Tco ComparisonLinux Vs Windows Tco Comparison
Linux Vs Windows Tco Comparison
 
B B Q Party
B B Q  PartyB B Q  Party
B B Q Party
 
Dit211 Chapter 7 (Lab 4)
Dit211   Chapter 7 (Lab 4)Dit211   Chapter 7 (Lab 4)
Dit211 Chapter 7 (Lab 4)
 
Dit211 Chapter 2 (Lab 1)
Dit211   Chapter 2 (Lab 1)Dit211   Chapter 2 (Lab 1)
Dit211 Chapter 2 (Lab 1)
 
D I T211 Chapter 5 ( Lab 3)
D I T211    Chapter 5 ( Lab 3)D I T211    Chapter 5 ( Lab 3)
D I T211 Chapter 5 ( Lab 3)
 
D I T211 Chapter 2 ( Lab 1)
D I T211    Chapter 2 ( Lab 1)D I T211    Chapter 2 ( Lab 1)
D I T211 Chapter 2 ( Lab 1)
 
D I T211 Chapter 7 ( Lab 4)
D I T211    Chapter 7 ( Lab 4)D I T211    Chapter 7 ( Lab 4)
D I T211 Chapter 7 ( Lab 4)
 
D I T211 Chapter 4 ( Lab 2)
D I T211    Chapter 4 ( Lab 2)D I T211    Chapter 4 ( Lab 2)
D I T211 Chapter 4 ( Lab 2)
 
D I T211 Chapter 1
D I T211    Chapter 1D I T211    Chapter 1
D I T211 Chapter 1
 
D I T211 Chapter 1 1
D I T211    Chapter 1 1D I T211    Chapter 1 1
D I T211 Chapter 1 1
 

Dernier

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

D I T211 Chapter 6

  • 1. CHAPTER 6 NORMALIZATION
  • 2.
  • 3.
  • 4.
  • 5.
  • 7.  
  • 8. Table 6-6 The BOOK Table ccccccc ccccccc No 80.00 Graphic M-G1 Graphic Design P08 44444 44444 No 88.00 Multimedia M-G1 Adobe Illustrator 10 P07 33333 33333 No 40.00 Pengetahuan Am F-B1 Pengajian Malaysia P06 22222 22222 No 69.00 Database T-H1 Database Processing P05 11111 11111 No 59.00 Database T-H1 Microsoft Access 2000 Complete P04 zzzzz zzzzz No 100.00 Database P-H1 Concepts of Database Management System P03 yyyyy yyyyy No 80.00 Database M-G1 Teach Yourself Microsoft Access 2000 Visually P02 xxxxx xxxxx Yes 76.00 Database M-G1 Access 2000 Processing P01 Book_Cover Book_ Sample Price Type Publisher_Code Book_Title Book_ Code
  • 9.
  • 10.
  • 11. MODIFICATION ANOMALIES Table 6-7 STUDENT_COURSE Table Diploma in Computer Graphic and Design. DIPCGR Jalan Puchong Syed Ahmad Rizal B. Syed Abdul Razak S0035 Computer Power 200 (Graphic and Multimedia) CGMP200 Tmn. Melawati Aidil Akmar Hj. Ayob S0159 Computer power 100 (IT) CITP100 Tmn. Koperasi Polis Nurazean Bt. Md. Sobri S0157 Computer Power 200 (Graphic and Multimedia) CGMP200 Bandar Baru Bangi Amjadi Abd. Mubin S0149 Associate Diploma in Interactive Multimedia ASDIM Jln. Kg. Gajah Hamizah Mohamed Redzwan S0144 Course_Name Course_ Code Address Student_Name Student_ID
  • 12.
  • 13.  
  • 15.
  • 16.  
  • 18.
  • 19.  
  • 20.
  • 21.
  • 22. INFORMATION REDUNDANCIES The STUDENT_SUBJECT Table The SUBJECT Table The STUDENT Table Jalan Puchong Syed Ahmad Rizal B. Syed Abdul Razak S0035 Tmn. Melawati Aidil Akmar Hj. Ayob S0159 Tmn. Koperasi Polis Norazean Bt Md Sobri S0157 Bandar Baru Bangi Amjadi Abd Mubin S0149 Jln. Kg. Gajah Hamizah Mohamed Redzwan S0144 Address Student_Name Student_ID ADM101 S0035 ADM301 S0159 ADM101 S0157 ADM101 S0149 ACT410 S0144 Subject _code Student_ID 4 Project ADM301 4 Internet Publishing ADM101 4 Computerized Accounting ACT410 Credit_hour Subject_name Subject_code
  • 23.
  • 24.
  • 25. Relational Schema: STUDENT ( Stud_ID , Stud_Name, Address, Course_Code) Table 6‑20 The STUDENT Table (NF) Relational Schema: SUBJECT ( Subject_Code , Subject_Name, Credit_Hours) Table 6‑21 The SUBJECT Table (NF) Relational Schema: STUDENT_GRADE ( Student_ID , Subject_Code , Grade) Table 6‑22 The STUDENT_GRADE Table (NF) Relational Schema: COURSE ( Course_Code , Course_Name,Coordinator) Table 6‑23 The COURSE Table (NF) ADIM Shah Alam Maslina Yakub S0151 DCGD Shah Alam Amirul Hamdan S0144 DIT Sentul Azlina Ahmad S0001 Course_Code Address Stud_Name Stud_ID 4 Graphic Design Application ART210 4 Internet Publishing QDM101 4 Business Organization BUS210 2 Introduction to graphic Design ART230 4 Promotion Design ART410 4 Graphic Communication ART310 4 Computerized Accounting, ACT410 Credit_Hours Subject_Name Subject_Code A BUS210 S0151 A ART 210 S0151 C ART410 S0151 B BUS210 S0144 B ART230 S0144 A ART310 S0144 C ART210 S0001 B ADM101 S0001 A ACT410 S0001 Grade Subject_Code Student_ID Sahada Associate Diploma in Interactive Multimedia ADIM Ahmad Diploma in Computer Graphic Design DCGD Fazilah Diploma in Information Technology DIT Coordinator Course_Name Course_Code
  • 26.
  • 27. NORMALIZED FORM (NF) Relational Schema: CUSTOMER ( Cust_No , Cust_Name, Address) Table 6‑25 The CUSTOMER Table (NF) Relational Schema: INVOICE ( Cust_No , Item_Code , Qty) Table 6‑26 The INVOICE Table (NF) Relational Schema: ITEM ( Item_Code , Item_desc, Price, Supplier) Table 6‑27 The ITEM Table (NF) Relational Schema: SUPPLIER ( Supplier , Supplier_address) Table 6‑28 The SUPPLIER Table (NF) Ampang Rani A102 Ampang Salmah A101 Sentul Abu A100 Address Cust_Name Cust_No 4 2 2 MS112 CP200 VG400 A102 A102 A102 10 10 5 HD200 KB100 SP360 A101 A101 A101 10 10 5 HD200 KB100 SP360 A101 A101 A101 20 10 2 KB100 CP200 MS112 A100 A100 A100 Qty Item_Code Cust_No XYZ Ent. 200 VGA Card VG400 XYZ Ent. 650 CPU CP200 XYZ Ent. 45 Speaker SP360 XYZ Ent. 15 Mouse MS112 Seagate 100 Hard Disc HD200 XYZ Ent. 25 Keyboard KB100 Supplier Price Item_desc Item_Code Pulau Pinang Seagate Petaling Jaya XYZ Ent. Supplier_address Supplier
  • 28. LEVEL OF NORMALIZATION No repeating groups of data in the table No partial functional dependancy No transitive dependancy
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. Relational Schema: STUDENT ( Student_ID , Student_Name , Subject_Code, Grade, Address, Course, Coordinator) Relational Schema: SUBJECT ( Subject_Code , Subject_Name, Credit_Hour) STUDENT SUBJECT Sahada Rahman Associate Diploma in Interactive Multimedia Shah Alam A BUS210 Mazlina Yakub S0151 Sahada Rahman Associate Diploma in Interactive Multimedia Shah Alam A ART 210 Mazlina Yakub S0151 Sahada Rahman Associate Diploma in Interactive Multimedia Shah Alam C ART410 Mazlina Yakub S0151 Ahmad Razak Diploma in Computer Graphic Design Shah Alam B BUS210 Amirul Hamdan S0144 Ahmad Razak Diploma in Computer Graphic Design Shah Alam B ART230 Amirul Hamdan S0144 Ahmad Razak Diploma in Computer Graphic Design Shah Alam A ART310 Amirul Hamdan S0144 Fazilah Musa Diploma in Information Technology Sentul C ART210 Azlina Ahmad S0001 Fazilah Musa Diploma in Information Technology Sentul B ADM101 Azlina Ahmad S0001 Fazilah Musa Diploma in Information Technology Sentul A ACT410 Azlina Ahmad S0001 Coordinator Course Address Grade Subject_Code Student_Name Student ID 4 Promotion Design ART410 4 Business Organization. BUS210 2 Introduction to graphic Design ART230 4 Graphic Communication ART310 4 Graphic Design Application ART210 4 Internet Publishing QDM101 4 Computerised Accounting ACT410 Credit_Hour Subject_Name Subject_Code
  • 35.
  • 36. Relational Schema: STUDENT ( Student_ID , Student_Name, Address, Course, Coordinator) Relational Schema: SUBJECT( Subject_Code , Subject_Name, Credit_Hours) Table 6‑33 The SUBJECT Table (2NF) Relational Schema: STUDENT_GRADE ( Student_ID , Subject_Code , Grade) Table 6‑34 The STUDENT_GRADE Table (2NF) Sahada Associate Diploma in Interactive Multimedia Shah Alam Mazlina Yakub S0151 Ahmad Diploma in Computer Graphic Design Shah Alam Amirul Hamdan S0144 Fazilah Diploma in Information Technology Sentul Azlina Ahmad S0001 Coordinator Course Address Student_Name Student_ID 4 Promotion Design ART410 4 Business Organization. BUS210 2 Introduction to graphic Design ART230 4 Graphic Communication ART310 4 graphic Design Application ART210 4 Internet Publishing QDM101 4 Computerised Accounting ACT410 Credit_Hours Subject_Name Subject_Code A BUS210 S0151 A ART210 S0151 C ART410 S0151 B BUS210 S0144 B ART230 S0144 A ART310 S0144 C ART210 S0001 B QDM101 S0001 A ACT410 S0001 Grade Subject_Code Student_ID
  • 37.
  • 38.
  • 39. Relational Schema: STUDENT (Student_ID, Student_Name, Address,Course) Table 6‑35 The STDENT Table (3NF) Relational Schema: SUBJECT( Subject_Code , Subject_Name, Credit_Hours) Table 6‑36 The SUBJECT Table (3NF) Relational Schema: COURSE ( Course , Coordinator) Table 6‑37 The COURSE Table (3NF) Relational Schema: STUDENT_GRADE ( Student_ID , Subject_Code , Grade) Table 6‑38 The STUDENT_GRADE Table (3NF) Associate Diploma in Interactive Multimedia Shah Alam Mazlina Yakub S0151 Diploma in Computer Graphic Design Shah Alam Amirul Hamdan S0144 Diploma in Information Technology Sentul Azlina Ahmad S0001 Course Address Student_Name Student_ID 4 Graphic Design Application ART210 4 Internet Publishing QDM101 4 Business Organization BUS210 2 Introduction to graphic Design ART230 4 Promotion Design ART410 4 Graphic Communication ART310 4 Computerised Accounting, ACT410 Credit_Hours Subject_Name Subject_Code Sahada Associate Diploma in Interactive Multimedia Ahmad Diploma in Computer Graphic Design Fazilah Diploma in Information Technology Coordinator Course A BUS210 S0151 A ART 210 S0151 C ART410 S0151 B BUS210 S0144 B ART230 S0144 A ART310 S0144 C ART210 S0001 B ADM101 S0001 A ACT410 S0001 Grade Subject_Code Student_ID
  • 40.