CST 363 - Module 3

 Week 3!

One thing that is considered important in database engineering is the normalization rule which reduces redundancy in tables. Focusing on the third normalization rule (the combination of the first two rules plus a third rule), Edgar Codd, considered as the father of relational databases, once described the third normalization rule as "a non-key column depends on the key, the whole key and nothing but the key, so help me Codd." where the key means primary or other candidate key of a table, whole key referring to a key containing multiple columns, including them all not just some columns of the key. Essentially, what is being said is the fact that non-key columns must depend on or are related to the key to each row. If it is not related to a key, then the database is not in normal form. This is important because it maintains the integrity of data, preventing redundancy or repetition and makes the data consistent.

One thing we used recently in MySQL a view which is essentially a name query. It is useful for reusing queries, especially if it is complex. It is similar to a table in the way that it is essentially a virtual table. However, it is different because it does not store information like a table would, it is the query itself.

Comments

Popular posts from this blog

CST 300 - Module 4

CST 300 - Module 2

CST 300 - Module 3