CST363: Learning Journal Week 3

1.Someone described normalization rule as  "a non-key column depends on the key, the whole key, and nothing but the key, so help me Codd."  Key refers a primary or other candidate key of a table.  If the key has multiple columns, then "whole key" means  all columns together and not just some part of the key.  Explain in your words what 3rd normal form is and why it is important.

Third normal form eliminates transitive dependencies in a table. It is important because it reduced redundancy, makes it easier to maintain the database, maintains data integrity.

2.What is an SQL view.  How is it similar to a table? In what ways is it different?

A SQL view is a virtual table based on a select query.

It is similar to a table in that select statements and operations on joins can be used in it.

It is different from tables since they don't store data, don't have indexes, and may not be updatable.

Comments

Popular posts from this blog

CST438 Week 6 Journal

CST439 Week 10 Journal

CST499 Week 14 Journal