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
Database normalization
(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!
=== Satisfying 1NF === In the [[first normal form]] each field contains a single value. A field may not contain a set of values or a nested record. '''Subject''' contains a set of subject values, meaning it does not comply. To solve the problem, the subjects are extracted into a separate '''Subject''' table:<ref name=":0" /> {| class="wikitable" |+Book !<u>Title</u> !Author !Author Nationality !<u>Format</u> !Price !Pages !Thickness !Publisher !Publisher Country !Genre ID !Genre Name |-= |Beginning MySQL Database Design and Optimization |Chad Russell |American |Hardcover |49.99 |520 |Thick |Apress |USA |1 |Tutorial |} {| class="wikitable" |+'''Title - Subject''' !'''<u>Title</u>''' !'''<u>Subject name</u>''' |- |Beginning MySQL Database Design and Optimization |MySQL |- |Beginning MySQL Database Design and Optimization |Database |- |Beginning MySQL Database Design and Optimization |Design |} Instead of one table in [[unnormalized form]], there are now two tables conforming to the 1NF.
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)