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

  • SEARCH
  • Home
  • 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 226315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:29:58+00:00 2026-05-11T19:29:58+00:00

A coworker sketched out the values of a new table as: Foo, some value

  • 0

A coworker sketched out the values of a new table as:

"Foo", "some value 1"
"Foo", "some value 2"
"Foo", "some value 3"
"Bar", "some value 3"

These are the only columns in the table. The column names are Col1, Col2.

One person said that this table is not normalized, another said it is.

The specific argument that it violated normalization is that removing the three records with “Foo” in Col1 “Foo” would no longer be present in the system. That person said there should be a lookup table containing an ID, and Name column. The table above would reference the Id of that table as its FK.

The argument that it wasn’t normalized is that there wasn’t a third column in the table dependent on the first (3rd normalized form).

The confusion I think comes from it being 1NF in that it satisfies this example:

Customer    Tr. ID  Date            Amount
Jones   12890   14-Oct-2003     -87
Jones   12904   15-Oct-2003     -50
Wilkins     12898   14-Oct-2003     -21
Stevens     12907   15-Oct-2003     -18
Stevens     14920   20-Nov-2003     -70
Stevens     15003   27-Nov-2003     -60

from http://en.wikipedia.org/wiki/Database_normalization.

But it sounds like it violates this rule, “The same information can be expressed on multiple rows; therefore updates to the table may result in logical inconsistencies.” This applies to normalization beyond 1NF.

So it looks like the original table would violate 2NF, and thereby 3NF, but would satisfy 1NF. Is this correct?

  • 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. Editorial Team
    Editorial Team
    2026-05-11T19:29:58+00:00Added an answer on May 11, 2026 at 7:29 pm

    If those two columns are really all there are, then I would say this database table is in third normal form. Here’s my reasoning:

    1. It’s CLEARLY in 1NF since none of the attributes are “multi-valued”
    2. Since neither col1 nor col2 are a valid key candidate (duplicate values!), the only possible and valid primary key on this table is (col1,col2)
    3. 2NF stipulates that no non-prime attribute shall be functionally dependent on a part of a candidate key. Since there are only col1 and col2 which are both part of the only possible candidate key, this point is moot – the table IS in 2NF
    4. 3NF according to E.F.Codd basically says that any non-key attribute must be dependent “on the key, the whole key, and nothing but the key”. Since we ONLY have two columns which make up the key, there are no other non-key attributes, so none of the non-key attributes violates this rule –> the table IS is 3NF

    I don’t know if your work buddy wants to really get into 4NF, 5NF or Boyce-Codd NF – I highly doubt it……

    Marc

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

Sidebar

Related Questions

A coworker recently showed me some code that he found online. It appears to
If your coworker opens (monkeypatches) a class in Ruby and redefines some important functionality
Recently, a coworker pointed out to me that compiling everything into a single file
A coworker and I can't figure out why the EventHandlers in the following code
A coworker of mine started with this code: var newList = new List<>(); foreach(var
A coworker showed me some code in which they're processing an uploaded file in
I'm trying to help out a coworker who accidentally created one feature branch from
I'm trying to figure out a bug I have. Originally, my coworker just added
A coworker has been using a custom AVI to indicate progress during some longer
Recently a coworker showed me some code he had written with a LinkedList and

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.