Database Normalization Flashcards
1
Q
1NF
A
- Each table cell should contain a single value
* Each record needs to be unique
2
Q
2NF
A
- Be in 1NF
* All the non-key columns are dependent on the table’s primary key
3
Q
3NF
A
- Be in 2NF
* Has no transitive functional dependencies
4
Q
What is a transitive functional dependency?
A
When a change to a non-key column might cause another non-key column change
5
Q
What does BCNF stand for?
A
Bryce-Codd Normal Form
6
Q
BCNF
A
- Be in 3NF
* Non-Key data depend on the key[s] and nothing but the keys
7
Q
4NF
A
- Be in BCNF
- Not contain more than 1 multi valued dependency
IE - Course depends on Professor and Book
8
Q
5NF
A
also known as Project-Join NF
- Be in 4NF
- every non-trivial join dependency in that table is implied by the candidate keys
9
Q
6NF
A
- Be in 5NF
* no nontrivial join dependencies at all
10
Q
What are some ways to Denormalize a database?
A
Using Views
OLAP Cubes
11
Q
How can you use a GUID as a Clustered Index?
A
Create the GUID using NEWSEQUENTIALID()