(3) The Realational Database Model Flashcards

1
Q

Determination

A

The role of a key. In the context of a database table, the statement “A determines B” indicates that knowing the value of attribute A means that the value of attribute B can be looked up.

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

Primary key (PK)

A

In the relational model, an identifier composed of one or more attributes that uniquely identifies a row. Also, a key selected as a unique entity identifier.

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

Composite key

A

A multiple-attribute key

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

Key

A

One or more attributes that determine other attributes.

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

Predicate logic

A

Used extensively in mathematics to provide a framework in which an assertion (statement of fact) can be verified as either true or false.

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

Foreign key (FK)

A

An attribute or attributes in on e table whose values must match the primary key in another table or whose values must be null.

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

Dependent

A

An attribute whose value is determined by another attribute.

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

Prime attribute

A

A key attribute; that is, an attribute that is part of a key or is the whole key.

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

Secondary key

A

A key send strictly for data retrieval purposes. For example, customers are not likely to know their customer number (primary key), but the combination of last name, first name, middle initial, and telephone number will probably match the appropriate table row.

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

Super key

A

An attribute or attributes that uniquely identify each entity in a table.

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

Unique index

A

An index in which the index key can have only one associated pointer value (row).

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

Linking table

A

In the relational model, a table that implements an M:M relationship.

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

Domain

A

In data modeling, the construct used to organize and describe an attribute’s set of possible values.

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

Null

A

The absence of an attribute value. Note that this is not a blank.

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

Functional dependence

A

Within a relation R, an attribute B is functionally dependent on an attribute A if and only if a given value of attribute A determines exactly one value of attribute B. The relationship “B is dependent on A” is equivalent to “A determines B,” and is written as A B.

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

Set theory

A

A part of mathematical science that deals with sets, or groups of things, and is used as the basis for data manipulation in the relational model.

17
Q

Key attribute

A

The attribute see that form a primary key.

18
Q

Flags

A

Special codes implemented by designers to trigger a required response, alert end users to specified conditions, or encode values. They may be used to prevent nulls by bringing attention to the absence of a value in a table.

19
Q

Index

A

An ordered array of index key values and row ID values (pointers). Indexes are generally used to speed up and facilitate data retrieval. Also known as an index key.

20
Q

Fully functional dependence

A

A condition in which an attribute is functionally dependent on a composite key but not on any subset of the key.

21
Q

Composite entity

A

An entity to transform an M:N relationship into two 1:M relationships. It’s primary key comprises at least the primary keys of the entities that it connects. Also known as a bridge entity or associative entity.

22
Q

business rule

A

A description of a policy, procedure, or principle within an organization. For example, a pilot cannot be on duty for more than 10 hours during a 24 hour period.

23
Q

Candidate key

A

A minimal super key; that is, a key that does not contain a subset of attributes that is itself a super key.

24
Q

Entity integrity

A

The property of a relational table that guarantees each entity has a unique value in a primary key and that the key has no null values.

25
Q

Referential integrity

A

A condition by which a dependent table’s foreign key must have either a null entry or a matching entry in the related table.