SlideShare une entreprise Scribd logo
1  sur  10
Database Design
Normalization

• Data Protection

• Redundant data

• Inconsistent dependency
First Normal Form
• There should not be any repeating columns
• Eliminate repeating groups in individual
  tables.
• Create a separate table for each set of related
  data.
• Identify each set of related data with a
  primary key.
Second Normal Form

• Three should not be any functional
  dependency between key column and non key
  column
• Create separate tables for sets of values that
  apply to multiple records.
• Relate these tables with a foreign key.
Third Normal Form

• There should not be any functional
  dependency between two non key columns

• Eliminate fields that do not depend on the
  key.
One To One

• Student

• Student Detail
One To Many

• Student

• Phone Number
Many To Many

• Department

• Faculty
What is the nature of the application?


• OLTP

• OLAP
THANK YOU

Contenu connexe

Tendances

Modeling Social Data, Lecture 4: Counting at Scale
Modeling Social Data, Lecture 4: Counting at ScaleModeling Social Data, Lecture 4: Counting at Scale
Modeling Social Data, Lecture 4: Counting at Scalejakehofman
 
Spreadsheet ml subject tables
Spreadsheet ml subject   tablesSpreadsheet ml subject   tables
Spreadsheet ml subject tablesShawn Villaron
 
Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2Command Prompt., Inc
 
On Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in HistoriographyOn Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in HistoriographyGiovanni Colavizza
 
Modeling Social Data, Lecture 3: Data manipulation in R
Modeling Social Data, Lecture 3: Data manipulation in RModeling Social Data, Lecture 3: Data manipulation in R
Modeling Social Data, Lecture 3: Data manipulation in Rjakehofman
 
Introduction to mining massive datasets
Introduction to mining massive datasetsIntroduction to mining massive datasets
Introduction to mining massive datasetsViet-Trung TRAN
 
Related Worksheets
Related WorksheetsRelated Worksheets
Related WorksheetsEirik Bakke
 
Overview spss instructor
Overview spss instructorOverview spss instructor
Overview spss instructoraswhite
 
BelBi2016 presentation: Hybrid methodology for information extraction from ta...
BelBi2016 presentation: Hybrid methodology for information extraction from ta...BelBi2016 presentation: Hybrid methodology for information extraction from ta...
BelBi2016 presentation: Hybrid methodology for information extraction from ta...Nikola Milosevic
 
Using Linked Data to Mine RDF from Wikipedia's Tables
Using Linked Data to Mine RDF from Wikipedia's TablesUsing Linked Data to Mine RDF from Wikipedia's Tables
Using Linked Data to Mine RDF from Wikipedia's TablesEmir Muñoz
 
Introduction to OPEN DATA and other hypes (2017/18)
Introduction to OPEN DATA and other hypes (2017/18)Introduction to OPEN DATA and other hypes (2017/18)
Introduction to OPEN DATA and other hypes (2017/18)Julià Minguillón
 
Introduction to DB design
Introduction to DB designIntroduction to DB design
Introduction to DB designVijay Kalangi
 
Atlas.Ti Summary
Atlas.Ti SummaryAtlas.Ti Summary
Atlas.Ti SummaryPyi Soe
 
Introduction to excel - application to statistics
Introduction to excel - application to statisticsIntroduction to excel - application to statistics
Introduction to excel - application to statisticszavenger
 
Elasticsearch: Removal of types
Elasticsearch: Removal of typesElasticsearch: Removal of types
Elasticsearch: Removal of typesTaimur Qureshi
 
Linkages to EHRs and Related Standards. What can we learn from the Parallel U...
Linkages to EHRs and Related Standards. What can we learn from the Parallel U...Linkages to EHRs and Related Standards. What can we learn from the Parallel U...
Linkages to EHRs and Related Standards. What can we learn from the Parallel U...Koray Atalag
 

Tendances (20)

Modeling Social Data, Lecture 4: Counting at Scale
Modeling Social Data, Lecture 4: Counting at ScaleModeling Social Data, Lecture 4: Counting at Scale
Modeling Social Data, Lecture 4: Counting at Scale
 
Spreadsheet ml subject tables
Spreadsheet ml subject   tablesSpreadsheet ml subject   tables
Spreadsheet ml subject tables
 
Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2Normalization: A Workshop for Everybody Pt. 2
Normalization: A Workshop for Everybody Pt. 2
 
On Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in HistoriographyOn Mining Citations to Primary and Secondary Sources in Historiography
On Mining Citations to Primary and Secondary Sources in Historiography
 
Modeling Social Data, Lecture 3: Data manipulation in R
Modeling Social Data, Lecture 3: Data manipulation in RModeling Social Data, Lecture 3: Data manipulation in R
Modeling Social Data, Lecture 3: Data manipulation in R
 
Introduction to mining massive datasets
Introduction to mining massive datasetsIntroduction to mining massive datasets
Introduction to mining massive datasets
 
Related Worksheets
Related WorksheetsRelated Worksheets
Related Worksheets
 
Sachin noire 2024
Sachin noire 2024Sachin noire 2024
Sachin noire 2024
 
Overview spss instructor
Overview spss instructorOverview spss instructor
Overview spss instructor
 
BelBi2016 presentation: Hybrid methodology for information extraction from ta...
BelBi2016 presentation: Hybrid methodology for information extraction from ta...BelBi2016 presentation: Hybrid methodology for information extraction from ta...
BelBi2016 presentation: Hybrid methodology for information extraction from ta...
 
Data structure day5
Data structure day5Data structure day5
Data structure day5
 
RDBMS Model
RDBMS ModelRDBMS Model
RDBMS Model
 
Using Linked Data to Mine RDF from Wikipedia's Tables
Using Linked Data to Mine RDF from Wikipedia's TablesUsing Linked Data to Mine RDF from Wikipedia's Tables
Using Linked Data to Mine RDF from Wikipedia's Tables
 
Introduction to OPEN DATA and other hypes (2017/18)
Introduction to OPEN DATA and other hypes (2017/18)Introduction to OPEN DATA and other hypes (2017/18)
Introduction to OPEN DATA and other hypes (2017/18)
 
Introduction to DB design
Introduction to DB designIntroduction to DB design
Introduction to DB design
 
Atlas.Ti Summary
Atlas.Ti SummaryAtlas.Ti Summary
Atlas.Ti Summary
 
Introduction to excel - application to statistics
Introduction to excel - application to statisticsIntroduction to excel - application to statistics
Introduction to excel - application to statistics
 
Elasticsearch: Removal of types
Elasticsearch: Removal of typesElasticsearch: Removal of types
Elasticsearch: Removal of types
 
Linkages to EHRs and Related Standards. What can we learn from the Parallel U...
Linkages to EHRs and Related Standards. What can we learn from the Parallel U...Linkages to EHRs and Related Standards. What can we learn from the Parallel U...
Linkages to EHRs and Related Standards. What can we learn from the Parallel U...
 
relational database
relational databaserelational database
relational database
 

En vedette

Каталог Porotherm 2011
Каталог Porotherm 2011Каталог Porotherm 2011
Каталог Porotherm 2011Material_bg
 
跑酷网
跑酷网跑酷网
跑酷网Paoku
 
Photo Competition 2011
Photo Competition 2011Photo Competition 2011
Photo Competition 2011Bschneid
 
LocalEqual: Crowdsource your international growth
LocalEqual: Crowdsource your international growthLocalEqual: Crowdsource your international growth
LocalEqual: Crowdsource your international growthGuillaume Ang
 
Каталог Техносим 2010 бетонови паважи
Каталог Техносим 2010 бетонови паважиКаталог Техносим 2010 бетонови паважи
Каталог Техносим 2010 бетонови паважиMaterial_bg
 
Каталог Енчо Енчев ЕТЕ
Каталог Енчо Енчев ЕТЕКаталог Енчо Енчев ЕТЕ
Каталог Енчо Енчев ЕТЕMaterial_bg
 
Order by and join
Order by and joinOrder by and join
Order by and joinRiteshkiit
 
Backup and restore
Backup and restoreBackup and restore
Backup and restoreRiteshkiit
 
How is WordPress.com made?
How is WordPress.com made?How is WordPress.com made?
How is WordPress.com made?hugobaeta
 
Adult learning 1_m_knowles
Adult learning 1_m_knowlesAdult learning 1_m_knowles
Adult learning 1_m_knowlesgonofre
 
Database index
Database indexDatabase index
Database indexRiteshkiit
 

En vedette (16)

South korea
South koreaSouth korea
South korea
 
Каталог Porotherm 2011
Каталог Porotherm 2011Каталог Porotherm 2011
Каталог Porotherm 2011
 
跑酷网
跑酷网跑酷网
跑酷网
 
Index
IndexIndex
Index
 
Photo Competition 2011
Photo Competition 2011Photo Competition 2011
Photo Competition 2011
 
LocalEqual: Crowdsource your international growth
LocalEqual: Crowdsource your international growthLocalEqual: Crowdsource your international growth
LocalEqual: Crowdsource your international growth
 
Каталог Техносим 2010 бетонови паважи
Каталог Техносим 2010 бетонови паважиКаталог Техносим 2010 бетонови паважи
Каталог Техносим 2010 бетонови паважи
 
Каталог Енчо Енчев ЕТЕ
Каталог Енчо Енчев ЕТЕКаталог Енчо Енчев ЕТЕ
Каталог Енчо Енчев ЕТЕ
 
Order by and join
Order by and joinOrder by and join
Order by and join
 
Backup and restore
Backup and restoreBackup and restore
Backup and restore
 
How is WordPress.com made?
How is WordPress.com made?How is WordPress.com made?
How is WordPress.com made?
 
Statistics
StatisticsStatistics
Statistics
 
Korean culture
Korean cultureKorean culture
Korean culture
 
English today 1 book
English today 1 bookEnglish today 1 book
English today 1 book
 
Adult learning 1_m_knowles
Adult learning 1_m_knowlesAdult learning 1_m_knowles
Adult learning 1_m_knowles
 
Database index
Database indexDatabase index
Database index
 

Similaire à Database design

Feb 2nd Makeup Class
Feb 2nd Makeup ClassFeb 2nd Makeup Class
Feb 2nd Makeup ClassGeorge Saban
 
Unit I Database concepts - RDBMS & ORACLE
Unit I  Database concepts - RDBMS & ORACLEUnit I  Database concepts - RDBMS & ORACLE
Unit I Database concepts - RDBMS & ORACLEDrkhanchanaR
 
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalizationLearn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalizationEduonix Learning Solutions
 
No sql or Not only SQL
No sql or Not only SQLNo sql or Not only SQL
No sql or Not only SQLAjay Jha
 
Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...
Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...
Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...ScyllaDB
 
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATABig Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATAMatt Stubbs
 
Introduction of sql server indexing
Introduction of sql server indexingIntroduction of sql server indexing
Introduction of sql server indexingMahabubur Rahaman
 
Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)Ali Raza
 
overview of database concept
overview of database conceptoverview of database concept
overview of database conceptgourav kottawar
 
ch2-slide Data Models.pptx
ch2-slide Data Models.pptxch2-slide Data Models.pptx
ch2-slide Data Models.pptxTamiratDejene1
 
Database Indexes
Database IndexesDatabase Indexes
Database IndexesSperasoft
 
microsoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.pptmicrosoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.pptKunle Faseyi
 

Similaire à Database design (20)

Feb 2nd Makeup Class
Feb 2nd Makeup ClassFeb 2nd Makeup Class
Feb 2nd Makeup Class
 
Different data models
Different data modelsDifferent data models
Different data models
 
Unit I Database concepts - RDBMS & ORACLE
Unit I  Database concepts - RDBMS & ORACLEUnit I  Database concepts - RDBMS & ORACLE
Unit I Database concepts - RDBMS & ORACLE
 
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalizationLearn Database Design with MySQL - Chapter 5 - Design principles & normalization
Learn Database Design with MySQL - Chapter 5 - Design principles & normalization
 
Access 01
Access 01Access 01
Access 01
 
603s129
603s129603s129
603s129
 
No sql or Not only SQL
No sql or Not only SQLNo sql or Not only SQL
No sql or Not only SQL
 
Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...
Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...
Scylla Summit 2022: Migrating SQL Schemas for ScyllaDB: Data Modeling Best Pr...
 
Data Modeling
Data ModelingData Modeling
Data Modeling
 
Linked List
Linked ListLinked List
Linked List
 
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATABig Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
Big Data LDN 2018: TIPS AND TRICKS TO WRANGLE BIG, DIRTY DATA
 
Relational databases
Relational databasesRelational databases
Relational databases
 
Introduction of sql server indexing
Introduction of sql server indexingIntroduction of sql server indexing
Introduction of sql server indexing
 
normalization-1.pptx
normalization-1.pptxnormalization-1.pptx
normalization-1.pptx
 
Presentation DBMS (1)
Presentation DBMS (1)Presentation DBMS (1)
Presentation DBMS (1)
 
Access 05
Access 05Access 05
Access 05
 
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
 
ch2-slide Data Models.pptx
ch2-slide Data Models.pptxch2-slide Data Models.pptx
ch2-slide Data Models.pptx
 
Database Indexes
Database IndexesDatabase Indexes
Database Indexes
 
microsoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.pptmicrosoft_access_working_with_forms_and_generating_reports__107.ppt
microsoft_access_working_with_forms_and_generating_reports__107.ppt
 

Plus de Riteshkiit

Sql server introduction fundamental
Sql server introduction fundamentalSql server introduction fundamental
Sql server introduction fundamentalRiteshkiit
 
Query parameterization
Query parameterizationQuery parameterization
Query parameterizationRiteshkiit
 
Sql server introduction
Sql server introductionSql server introduction
Sql server introductionRiteshkiit
 
Sql server JOIN
Sql server JOINSql server JOIN
Sql server JOINRiteshkiit
 
Sql query performance analysis
Sql query performance analysisSql query performance analysis
Sql query performance analysisRiteshkiit
 
Sql query performance analysis
Sql query performance analysisSql query performance analysis
Sql query performance analysisRiteshkiit
 

Plus de Riteshkiit (10)

Sql server introduction fundamental
Sql server introduction fundamentalSql server introduction fundamental
Sql server introduction fundamental
 
Query parameterization
Query parameterizationQuery parameterization
Query parameterization
 
Index_2
Index_2Index_2
Index_2
 
Sql server introduction
Sql server introductionSql server introduction
Sql server introduction
 
Addhoc query
Addhoc queryAddhoc query
Addhoc query
 
Sql server JOIN
Sql server JOINSql server JOIN
Sql server JOIN
 
Sql server 2
Sql server 2Sql server 2
Sql server 2
 
Sql query performance analysis
Sql query performance analysisSql query performance analysis
Sql query performance analysis
 
Sql query performance analysis
Sql query performance analysisSql query performance analysis
Sql query performance analysis
 
Topics
TopicsTopics
Topics
 

Database design