Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 171723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:02:18+00:00 2026-05-11T13:02:18+00:00

In relational database design, there is a concept of database normalization or simply normalization,

  • 0

In relational database design, there is a concept of database normalization or simply normalization, which is a process of organizing columns (attributes) and tables (relations) to reduce data redundancy and improve data integrity. Wikipedia

What is an explanation based on examples about what 1NF, 2NF, 3NF, and 3.5NF (Boyce-Codd BCNF) mean?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:02:19+00:00Added an answer on May 11, 2026 at 1:02 pm

    1NF is the most basic of normal forms – each cell in a table must contain only one piece of information, and there can be no duplicate rows.

    2NF and 3NF are all about being dependent on the primary key. Recall that a primary key can be made up of multiple columns. As Chris said in his response:

    The data depends on the key [1NF], the whole key [2NF] and nothing but the key [3NF] (so help me Codd).

    2NF

    Say you have a table containing courses that are taken in a certain semester, and you have the following data:

    |-----Primary Key----|               uh oh |                                            V CourseID | SemesterID | #Places  | Course Name  | ------------------------------------------------| IT101    |   2009-1   | 100      | Programming  | IT101    |   2009-2   | 100      | Programming  | IT102    |   2009-1   | 200      | Databases    | IT102    |   2010-1   | 150      | Databases    | IT103    |   2009-2   | 120      | Web Design   | 

    This is not in 2NF, because the fourth column does not rely upon the entire key – but only a part of it. The course name is dependent on the Course’s ID, but has nothing to do with which semester it’s taken in. Thus, as you can see, we have duplicate information – several rows telling us that IT101 is programming, and IT102 is Databases. So we fix that by moving the course name into another table, where CourseID is the ENTIRE key.

    Primary Key |  CourseID    |  Course Name | ---------------------------| IT101       | Programming  | IT102       | Databases    | IT103       | Web Design   | 

    No redundancy!

    3NF

    Okay, so let’s say we also add the name of the teacher of the course, and some details about them, into the RDBMS:

    |-----Primary Key----|                           uh oh |                                                        V Course  |  Semester  |  #Places   |  TeacherID  | TeacherName  | ---------------------------------------------------------------| IT101   |   2009-1   |  100       |  332        |  Mr Jones    | IT101   |   2009-2   |  100       |  332        |  Mr Jones    | IT102   |   2009-1   |  200       |  495        |  Mr Bentley  | IT102   |   2010-1   |  150       |  332        |  Mr Jones    | IT103   |   2009-2   |  120       |  242        |  Mrs Smith   | 

    Now hopefully it should be obvious that TeacherName is dependent on TeacherID which is not part of the primary key – so this is not in 3NF. To fix this, we do much the same as we did in 2NF – take the TeacherName field out of this table, and put it in its own, which has TeacherID as the key.

     Primary Key |   TeacherID   | TeacherName  |  ---------------------------|  332         |  Mr Jones    |  495         |  Mr Bentley  |  242         |  Mrs Smith   | 

    No redundancy!!

    One important thing to remember is that if something is not in 1NF, it is not in 2NF or 3NF either. So each additional Normal Form requires everything that the lower normal forms had, plus some extra conditions, which must all be fulfilled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 74k
  • Answers 74k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer \< matches the beginning of a word, and - normally… May 11, 2026 at 2:29 pm
  • added an answer Turned out that the problem was that I was not… May 11, 2026 at 2:29 pm
  • added an answer The shortest code to delete the tab the middle mouse… May 11, 2026 at 2:29 pm

Related Questions

I have a requirement to build 'versioning' into an application and was wondering how
I'm looking for a book/site/tutorial on best practices for relational database design, tuning for
Note: This is not for unit testing or integration testing. This is for when
I am pretty well versed with SQL Server, MySQL, Oracle etc but putting these

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.