Database Normalization
Arun .R. Menon
arunrmenon555@gmail.com
www.facebook.com/arunrmenon
twitter.com/iamarunmenon
in.linkedin.com/in/mearunmenon
+919846629020
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
Database Normalization
• What is normalization?
• Need of normalization ?
What is normalization?
• Database normalization is the process of
organizing the fields and tables of a relational
database.
• It is a multi-step process that puts data into
tabular form and linking data using relation
tables.
Need of normalization ?
• Avoid redundancy.
• Increase performance
• Easy Updating
• Accuracy
• Advantages
– Reduce redundancy
– Easy data updation
– Reduce errors
• Disadvantages
– Increase number of tables
– Complexity increases
First Normal Form (1NF)
• A relation is said to be in 1NF if ,
all attributes contain atomic values.
candidate keys {int_id,vchr_subject_opted}
Primary key {int_id}
Second Normal Form(2NF)
• A table is in 2nf if
– It is in 1nf
– Every non prime attribute must dependent on the
the entire primary key.
candidate keys {int_id,vchr_subject_opted}
Primary key {int_id}
candidate keys {int_id,vchr_subject_opted}
Third Normal Form(3NF)
• A table is in 3NF if
– It is in 2NF
– No attributes is transitively dependent to primary
key
Primary key {pk_int_stu_id}
Primary key {pk_int_stu_id}
Primary key {pk_int_zip_id}
• Online Exam Management System
• Users:
• Admin
• Student
• Admin
• Login
• View Profile
• Edit Profile
• Facility to manage student
• Facility to manage exam
• Student
• Attend exams
• View mark
• tbl_user
• tbl_user_role
• tbl_log
• tbl_user_details
• tbl_subject
• tbl_exam
• tbl_question
• tbl_options
• tbl_answer
• tbl_exam_details
Tbl_user
Tbl_user_roles
Tbl_log
Tbl_user_details
Tbl_subject
tbl_exam
tbl_question
tbl_options
tbl_answer
tbl_exam_details
Thank You
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course
@ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed
to make a quick, good software professional out of anybody who holds a passion for coding.
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Cafit Square,
Hilite Business Park,
Near Pantheerankavu,
Kozhikode
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
Contact Us

Database normalization

  • 2.
    Database Normalization Arun .R.Menon arunrmenon555@gmail.com www.facebook.com/arunrmenon twitter.com/iamarunmenon in.linkedin.com/in/mearunmenon +919846629020
  • 3.
    Disclaimer: This presentationis prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4.
    Database Normalization • Whatis normalization? • Need of normalization ?
  • 5.
    What is normalization? •Database normalization is the process of organizing the fields and tables of a relational database. • It is a multi-step process that puts data into tabular form and linking data using relation tables.
  • 6.
    Need of normalization? • Avoid redundancy. • Increase performance • Easy Updating • Accuracy
  • 7.
    • Advantages – Reduceredundancy – Easy data updation – Reduce errors • Disadvantages – Increase number of tables – Complexity increases
  • 8.
    First Normal Form(1NF) • A relation is said to be in 1NF if , all attributes contain atomic values.
  • 9.
  • 10.
    Second Normal Form(2NF) •A table is in 2nf if – It is in 1nf – Every non prime attribute must dependent on the the entire primary key.
  • 11.
    candidate keys {int_id,vchr_subject_opted} Primarykey {int_id} candidate keys {int_id,vchr_subject_opted}
  • 12.
    Third Normal Form(3NF) •A table is in 3NF if – It is in 2NF – No attributes is transitively dependent to primary key
  • 13.
    Primary key {pk_int_stu_id} Primarykey {pk_int_stu_id} Primary key {pk_int_zip_id}
  • 14.
    • Online ExamManagement System • Users: • Admin • Student • Admin • Login • View Profile • Edit Profile • Facility to manage student • Facility to manage exam • Student • Attend exams • View mark
  • 15.
    • tbl_user • tbl_user_role •tbl_log • tbl_user_details • tbl_subject • tbl_exam • tbl_question • tbl_options • tbl_answer • tbl_exam_details
  • 16.
  • 17.
  • 18.
  • 19.
    Want to learnmore about programming or Looking to become a good programmer? Are you wasting time on searching so many contents online? Do you want to learn things quickly? Tired of spending huge amount of money to become a Software professional? Do an online course @ baabtra.com We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
  • 20.
    Follow us @twitter.com/baabtra Like us @ facebook.com/baabtra Subscribe to us @ youtube.com/baabtra Become a follower @ slideshare.net/BaabtraMentoringPartner Connect to us @ in.linkedin.com/in/baabtra Give a feedback @ massbaab.com/baabtra Thanks in advance www.baabtra.com | www.massbaab.com |www.baabte.com
  • 21.
    Emarald Mall (BigBazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Cafit Square, Hilite Business Park, Near Pantheerankavu, Kozhikode Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com Contact Us