Chapter 04 - Logical Database Design Flashcards

1
Q

relation

A

a two-dimensional table of data

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

primary key

A

an attribute or a combination of attributes that uniquely identifies each row in a relation

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

composite key

A

a primary key that consists of more than one attribute

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

foreign key

A

an attribute in a relation that serves as the primary key of another relation in the same database

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

null

A

A value that may be assigned to an attribute when no other value applies or when the applicable value is unknown.

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

entity integrity rule

A

A rule that states that no primary key attribute (or component of an attribute) may be null

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

referential integrity constraint

A

a rule that states that either each foreign key value must match a primary key value in another relation or the foreign key value must be null.

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

well-structured relation

A

a relation that contains minimal redundancy and allows users to insert, modify, and delete the rows in a table without errors or inconsistencies

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

anomaly

A

an error or inconsistency that may result when a user attempts to update a table that contains redundant data

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

surrogate primary key

A

a serial number or other system-assigned primary key for a relation

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

recursive foreign key

A

a foreign key in a relation that references the primary key values of the same relation

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

normalization

A

the process of decomposing relations with anomalies to produce smaller, well-structured relations

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

normal form

A

a state of a relation that requires that certain rules regarding relationships between attributes (or functional dependencies) are satisfied

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

functional dependency

A

a constraint between two attributes in which the value of one attribute is determined by the value of another attribute

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

determinant

A

the attribute on the left side of the arrow in a functional dependency

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

candidate key

A

an attribute, or combination of attributes, that uniquely identifies a row in a relation

17
Q

first normal form (1NF)

A

a relation that has a primary key and in which there are no repeating groups

18
Q

second normal form (2NF)

A

a relation in first normal form with no partial functional dependencies

19
Q

partial functional dependency

A

a functional dependency in which one or more nonkey attributes are functionally dependent on part (but not all) of the primary key

20
Q

third normal form (3NF)

A

a functional dependency in second normal form with no transitive dependencies

21
Q

transitive dependency

A

a functional dependency between the primary key and one or more nonkey attributes that are dependent on the primary key via another nonkey attribute

22
Q

synonyms

A

two (or more) attributes that have different names but the same meaning

23
Q

alias

A

an alternative name used for an attribute

24
Q

homonym

A

an attribute that may have more than one meaning

25
Q

enterprise key

A

a primary key whose value is unique across all relations