Relational Model Flashcards

1
Q

Set

A

unordered collection of distinct objects

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

Domain

A

set of values of some type

e.g. list of zipcodes

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

attribute

A

name of the domain

e.g. “zipcodes”

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

Relations

A

subset of cartesian product

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

Atomicity

A

single valued

means ease of querying

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

Table metaphor, relation is ? tuple is a ? attribute is a ?

A

relation is a table, tuple is a row, column is an attribute

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

Superkey

A

set of attributes K of R such that no two tuples in any valid relation instance will have the same value for K

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

Candidate key

A

minimal superkey; a superkey K such that removal of any attribute from K results in a set of attributes that is not a superkey

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