數據庫範化 database normalization

Database normalization is useful for several reasons:
        a. It helps to build a structure that is logical and easy to maintain.
        b. Normalized databases are the industry standard.
        c. Retrieving data will be easier.

First Normal Form means that the database doesn't contain any repeating attributes.
Violations of Second Normal Form occur when the table contains attributes that depend on a portion of the primary key.
Second Normal Form violations can exist only when you have a multi-column primary key.
Third Normal Form violations occur when a transitive dependency exists.
All attributes in entities (columns in tables) must be dependent upon the primary key or one of the candidate keys and not on other attributes.



發佈了22 篇原創文章 · 獲贊 22 · 訪問量 12萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章