Lecture 3 Flashcards

1
Q

1NF (first normal form)

A

First normal form says that all column values must be atomic.

At the intersection of each row and each Colin there must be only 1 value

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

2nd normal form

A

A table is said to be in the second normal form,if it is in 1NF and every non-key column is fully dependent on the (entire) primary key.

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

3NF (third normal form)

A

A table is in 3 normal form if it is 2NF and has no transitive dependencies (1 non key field depending on another non-key field)

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

Foreign key

A

It is a key that is used to link two tables. A foreign key must first exist as a primary key in another table before it can become the foreign key.

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

Primary key

A

Is used to uniquely identify a record in a table

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

A composite primary key

A

Is a primary key with multiple fields

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

Cardinality

A

How many entities of A must exist for 1 instance of entity B

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