Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your relation variable (relvar) indeed violates 1NF but perhaps not for the reason you are expecting: it is the presence of the null that violates 1NF. If you think your relvar contains a repeating group, think again.</p> <p>First normal form, or simply "normalized", is the minimum requirement for the relational model. To quote Chris Date:</p> <blockquote> <p>by definition, a null isn't a value. It follows that: A "type" that contains a null isn't a type (because types contain values); A "tuple" that contains a null isn't a tuple (because tuples contain values); A "relation" that contains a null isn't a relation (because relations contain tuples, and tuples don't contain nulls). In fact, nulls violate the most fundamental relational principle of all—viz., The Information Principle. The net of all this is that if nulls are present, then we're certainly not talking about the relational model (I don't know what we are talking about, but it's not the relational model); the entire edifice crumbles, and all bets are off.</p> </blockquote> <p>The point about repeating groups and 1NF is a tricky one to explain and I won't try. Instead, I urge you to read <a href="http://www.simple-talk.com/content/print.aspx?article=712" rel="nofollow">Facts and Fallacies about First Normal Form</a>, specifically the section "The ambiguity of Repeating Groups".</p> <p>Assuming the null was eliminated, the relvar would satisfy 1NF but note we would need further information (e.g. keys) to determine whether it would also satisfy higher normal forms.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload