Chapter 3 Flashcards

1
Q

What is a domain?

A

The set of possible values for this attribute.

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

What is functional dependence?

A

The relationship between two sets of attributes in a table. One can exist without the other, but not the other way around.

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

What is a composite key?

A

Process of combining two attributes to uniquely identify each row.

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

What is a superkey?

A

It is any key that uniquely identifies each row.

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

What is a candidate key?

A

It is a super key without any redundancies, a minimal super key.

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

What is a primary key?

A

Unique identifier for each row in a database table.

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

What is entity integrity?

A

A rule that ensures each row in a table has a primary key.
No duplicates or nulls are allowed.

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

What is referential integrity?

A

A rule that ensures data in one table connects to existing data in another table (foreign key).
No duplicates or nulls are allowed.

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

What is a foreign key?

A

An attribute that connects tables by referencing another table’s primary key.

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

What is a secondary key?

A

Any key used strictly for data retrieval purposes.

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