Database Management 7 Flashcards

1
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, then the foreign key values are set to NULL so we know that the record they used to point to has been deleted.

A

Set-to-Null Delete Rule

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

is an orderly arrangement used to logically access rows in a table; used to locate an item quickly.

A

Index

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

Index key is, in effect, the index’s reference point. More formally, an index is an ordered arrangement of keys and pointers. Each key points to the location of the data identified by the key.

A

info …

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

the index key can have only one pointer value (row) associated with it.

A

unique index

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

A table can have many indexes, but each index is associated with only one table.

The index key can have one or multiple attributes (i.e. columns).

An index with multiple attributes is called a composite index.

By default, indexes are created by column value in ascending order.

A

info …

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

The Chen notation favors conceptual modeling.

The Crow’s Foot notation favors a more implementation-oriented approach.

The UML notation can be used for both conceptual and implementation modeling.

A

info …

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

in the ERM corresponds to a table—not to a row—in the relational environment. The ERM refers to a table row as an entity instance or entity occurrence. In the Chen, Crow’s Foot, and UML notations, an entity is represented by a rectangle that contains the entity’s name. The entity name, a noun, is usually written in all capital letters.

A

entity

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

required attribute is an attribute that must have a value; in other words, it cannot be left empty.

optional attribute is an attribute that does not require a value; therefore, it can be left empty.

domain is the set of possible values for a given attribute.

A

info …

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

uses identifiers—one or more attributes that uniquely identify each entity instance. In the relational model, entities are mapped to tables, and the entity identifier is mapped as the table’s primary key (PK). Identifiers are underlined in the ERD. Key attributes are also underlined in a frequently used shorthand notation for the table structure, called a relational schema.

A

The ERM

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

composite identifier, a primary key composed of more than one attribute.

composite attribute : is an attribute that can be further subdivided to yield additional attributes.

single-valued attribute is an attribute that can have only a single value.

Multi-valued attributes are attributes that can have many values.

derived attribute is an attribute whose value is calculated (derived) from other attributes.

A

info …

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