Relational Model Flashcards
1
Q
Set
A
unordered collection of distinct objects
2
Q
Domain
A
set of values of some type
e.g. list of zipcodes
3
Q
attribute
A
name of the domain
e.g. “zipcodes”
4
Q
Relations
A
subset of cartesian product
5
Q
Atomicity
A
single valued
means ease of querying
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
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
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