Ch 3 Flashcards

1
Q

Characteristics of a relational table

A
  1. A table is perceived as a two-dimensional structure composed of rows and columns.
  2. Each table row (tuple) represents a single entity occurrence within the entity set.
  3. Each table column represents an attribute, and each column has a distinct name.
  4. Each intersection of a row and column represents a single data value.
  5. All values in a column must conform to the same data format.
  6. Each column has a specific range of values known as the attribute domain.
  7. The order or rows and columns is immaterial to the DBMS.
  8. Each table must have an attribute or combination of attributes that uniquely identifies each row.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Domain

A

The column’s range of permissible values is known as its domain.

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

Primary key

A

Each table must have a primary key. In general terms, the primary key is an attribute or combination of attributes that uniquely identifies any given row.

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

Key

A

A key consists of 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

Determination

A

Determination is the state in which knowing the value of one attribute makes it possible to determine the value of another.

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

Functional dependence

A

Functional dependence means that the value of one or more attributes determines the value of one or more other attributes.

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

Determinant

A

In functional dependence, the attribute whose value determines another is called the determinant or the key.

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

Dependent

A

In functional dependence, the attribute whose value is determined by the other attribute is called the dependent.

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

Full functional dependence

A

Full functional dependence is used to refer to functional dependencies in which the entire collection of attributes in the determinant is necessary for the relationship.

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

Composite key

A

A composite key is a key that is composed of more than one attribute.

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

Key attribute

A

An attribute that is part of a key is called a key attribute.

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

Superkey

A

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

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

Candidate key

A

A candidate key is a minimal superkey, i.e. a superkey without any unnecessary attributes.

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

Entity integrity

A

Entity integrity 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 keys must be unique.
  2. No key attribute in the primary key can contain null.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Null

A

A null is the absence of any data value.

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

Foreign key

A

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

17
Q

Referential integrity

A

Referential integrity is the condition in which every reference to an entity instance by another entity instance is valid. I.e. every foreign key must be either null or a valid value in the primary key of the related table.

18
Q

Secondary key

A

A secondary key is defined as a key that is used strictly for data retrieval purposes.

19
Q

Data dictionary

A

The data dictionary provides a detailed description of all tables in the database created by the user and designer. Thus, the data dictionary contains at least all of the attribute names and characteristics for each table in the system.

20
Q

System catalog

A

The system catalog can be described as a detailed system data dictionary that describes all objects within the database, including data about table names, the table’s creator and creation date.

21
Q

Homonyms

A

In database context, homonym indicates the use of the same name to label different attributes.

22
Q

Synonym

A

In database context, synonym is the opposite of homonym, and indicates the use of different names to label the same attribute.

23
Q

Composite entity

A

A composite entity is also referred to as a bridge entity or an associate entity. They are used to break M:N relationships into two 1:M.

24
Q

Linking table

A

A linking table is the implementation of a composite entity.

25
Q

Index

A

An index is an orderly arrangement used to logically access rows in a table.

26
Q

Index key

A

The 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.

27
Q

Unique index

A

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