Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Second normal form
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Term in database normalization}}{{More footnotes needed|date=June 2024}} '''Second normal form''' ('''2NF'''), in [[database normalization]], is a [[Database normalization#Normal forms|normal form]]. A relation is in the second normal form if it fulfills the following two requirements: # It is in [[first normal form]]. # It does not have any [[non-prime attribute]] that is [[Functional dependency|functionally dependent]] on any [[proper subset]] of any [[candidate key]] of the relation (i.e. it lacks partial dependencies). A ''non-prime attribute of a relation'' is an attribute that is not a part of any candidate key of the relation. Put simply, a relation (or table) is in 2NF if: # It is in 1NF and has a single attribute [[unique identifier]] (UID) (in which case every non key attribute is dependent on the entire UID), or # It is in 1NF and has a multi-attribute unique identifier, and every regular attribute (not part of the UID) is dependent on ''all attributes'' in the multi-attribute UID, not just one attribute (or part) of the UID. If any regular (non-prime) attributes are predictable (dependent) on another (non-prime) attribute, that is addressed in [[third normal form]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)