Database Management 6 Flashcards

1
Q

is a key that is composed of more than one attribute. An attribute that is a part of a key is called a key attribute.

A

composite key

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

is a key that can uniquely identify any row in the table. In other words, a ??? functionally determines every attribute in the row.

A

superkey

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

is a minimal superkey—that is, a superkey without any unnecessary attributes.

A

A candidate key

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

is the condition in which each row (entity instance) in the table has its own unique identity. To ensure entity integrity, the primary key has two requirements: (1) all of the values in the primary key must be unique, and (2) no key attribute in the primary key can contain a null.

A

Entity integrity

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

is the absence of any data value, and it is never allowed in any part of the primary key.

A

null

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

is the primary key of one table that has been placed into another table to create a common attribute.

A

foreign key (FK)

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

the condition in which every reference to an entity instance by another entity instance is valid.

A

referential integrity

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

is defined as a key that is used strictly for data retrieval purposes. A secondary key’s effectiveness in narrowing down a search depends on how restrictive the key is.

A

secondary key

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

This rule states that if an attempt is made to delete a record in one table where one or more records with matching foreign key values exist in another table, all associated records will be deleted.

A

Cascade Delete Rule

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

This rule states that if an attempt is made to delete a record in one table where one or more records with matching foreign key values exist in another table, that the delete operation will not be allowed.

A

Restrict Delete Rule

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