Your SlideShare is downloading. ×
Database normalization
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Database normalization

375
views

Published on

Database normalization

Database normalization

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
375
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Database Normalization Arun .R. Menon arunrmenon555@gmail.com www.facebook.com/arunrmenon twitter.com/iamarunmenon in.linkedin.com/in/mearunmenon +919846629020
  • 2. 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
  • 3. Database Normalization • What is normalization? • Need of normalization ?
  • 4. 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.
  • 5. Need of normalization ? • Avoid redundancy. • Increase performance • Easy Updating • Accuracy
  • 6. • Advantages – Reduce redundancy – Easy data updation – Reduce errors • Disadvantages – Increase number of tables – Complexity increases
  • 7. First Normal Form (1NF) • A relation is said to be in 1NF if , all attributes contain atomic values.
  • 8. candidate keys {int_id,vchr_subject_opted} Primary key {int_id}
  • 9. 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.
  • 10. candidate keys {int_id,vchr_subject_opted} Primary key {int_id} candidate keys {int_id,vchr_subject_opted}
  • 11. Third Normal Form(3NF) • A table is in 3NF if – It is in 2NF – No attributes is transitively dependent to primary key
  • 12. Primary key {pk_int_stu_id} Primary key {pk_int_stu_id} Primary key {pk_int_zip_id}
  • 13. • 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
  • 14. • tbl_user • tbl_user_role • tbl_log • tbl_user_details • tbl_subject • tbl_exam • tbl_question • tbl_options • tbl_answer • tbl_exam_details
  • 15. Tbl_user Tbl_user_roles Tbl_log Tbl_user_details Tbl_subject
  • 16. tbl_exam tbl_question tbl_options tbl_answer tbl_exam_details
  • 17. Thank You
  • 18. 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.
  • 19. 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
  • 20. 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