Professional Documents
Culture Documents
Alvin
Alvin
Rule 1
Each column should contain atomic values
Entries like x,y and w,x violate this rule (its not true)
Rule 2
A column should contain values that are of the same type. For example in DB date of
birds must be same don’t write with another character
Don’t inter-mix different types of values in any column
Rule 3
Each column should have a unique name. for example the name of field don’t same, but
write with another name.
Same names leads to confusion at the time of data retrival
Rule 4
Order in which data is saved doesn’t matter
Using sql query, you can easily fetch data in any order from a table
Id Nama hobbi
1 Alvin Berkuda
1 Aris Membaca Buku
2 Gita Memanah
3 Ozy Bowling
3 Doni Memancing
Table student_id is dependencies with using primary key, so the database is dependence.
In the first table above, are all columns completely dependent on the primary key? certainly not, it's just
that there is one field that is totally dependent on price and quantity, the total can be generated by
multiplying the price and the amount. The 3NF form in the table above can be done by removing the
Total field.
FOURTH VIDEO SUMMARY
BCNF (BOYCE-COD NORMAL FORM)
A database normalization technique that is often called 3.5NF, has a very close relationship with the 3NF
form. Basically it is to handle anomalies and overlooping that cannot be handled in the form of 3NF.
Database normalization of this form depends on the case provided, not all tables must be normalized in
the form of BCNF.
BCNF has a force that is stronger than the third normal form. The conditions for becoming BCNF,
namely:
It must be in the form of 1NF, 2NF, 3NF and relations on BCNF that is optimizing if each
determinant between the attributes of a relation is a key relation.
The relation must be in the third normal form and each attribute must depend on the function of
the superkey attribute.
The table must have Functional Dependency with X Y notation; X is the superkey in the table
All multivalue dependency attributes are also functional dependencies.
For example :
Id_pinjam Sid
P01 1234
P02 5678