The Relational Model Flashcards

1
Q

Domain

A

the set of allowable values for one or more attributes

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

Instance

A

A tuple with values for each field

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

Degree

A

Number of attributes it contains

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

Cardinality

A

number of tuples it contains

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

Relations schema

A

A named relation defined by a set of attribute and domain name pairs.

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

Superkey

A

An attribute or set of attributes that uniquely identifies a tuple within a relation. Mya contain additional attributes that are not necessary for unique identification.

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

Candidate Key

A

A superkey such that no proper subset is a
superkey within the relation. Need uniqueness and irreducibility.

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

Entity Integrity

A

No attribute of a primary key can be null

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

Entity Integrity

A

No attribute of a primary key can be null

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

Referential Integrity

A

If a foreign key exists in a relation, either the foreign key
value must match a candidate key value of some tuple in
its home relation or the foreign key value must be wholly
null.

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