Master SQL Development (LinkedIn) Flashcards

1
Q

Describe Normalization

A

The process of organizing data into multiple tables to reduce redundancy and prevent inconsistencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is 1NF?

A

We need to eliminate repeating columns or groups of data. Break data into the smallest pieces you can and provide a column for each piece.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is 2NF?

A

Eliminate redundant data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is 3NF

A

Eliminate columns not dependent on key filed

The data in a field is not determined by data in another field that is not part of the field e.g. calculations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are some of the things we can do to get out table into 1NF?

A

Add a unique identifier for each record in the table

Break down information into the smallest pieces you can e.g. name consists of forename and surname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the test for the third normal form?

A

Looking at a piece of data, does it uniquely identify the entity (apart from the key). The answer should be no.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly